Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 177.9 kB / 15.45 MB, free: 6.23 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 223.3 MB / 239.5 MB, free: 1.645 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008222/0.0008225, allocations: 106.9 kB / 290.7 MB, free: 13.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5422/0.5422, allocations: 78.62 MB / 420.4 MB, free: 44.15 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003718, allocations: 8 kB / 0.4889 GB, free: 2.438 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3841, allocations: 69.34 MB / 0.5566 GB, free: 39.15 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer): time 0.005793/0.39, allocations: 7.391 MB / 0.5638 GB, free: 35.62 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004579/0.3946, allocations: 2.327 MB / 0.5661 GB, free: 34.69 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/0.3958, allocations: 14 kB / 0.5661 GB, free: 34.69 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006959/0.3965, allocations: 232.6 kB / 0.5663 GB, free: 34.61 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003318/0.3998, allocations: 1.085 MB / 0.5674 GB, free: 34.14 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001668/0.4015, allocations: 0.5432 MB / 0.5679 GB, free: 33.85 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003982/0.4055, allocations: 1.928 MB / 0.5698 GB, free: 32.96 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005352/0.4061, allocations: 303.5 kB / 0.5701 GB, free: 32.8 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001612/0.4077, allocations: 0.6892 MB / 0.5708 GB, free: 32.49 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.4087, allocations: 0.9298 MB / 0.5717 GB, free: 32.08 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001959/0.4089, allocations: 79.84 kB / 0.5717 GB, free: 32.08 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007636/0.4097, allocations: 302.4 kB / 0.572 GB, free: 32.01 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002147/0.4099, allocations: 330.8 kB / 0.5723 GB, free: 31.82 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005412/0.4105, allocations: 0.7486 MB / 0.5731 GB, free: 31.33 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.4119, allocations: 1.91 MB / 0.5749 GB, free: 30.62 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4119, allocations: 0 / 0.5749 GB, free: 30.62 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4119, allocations: 0 / 0.5749 GB, free: 30.62 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.75e-05/0.412, allocations: 0 / 0.5749 GB, free: 30.62 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.01245/0.4244, allocations: 3.681 MB / 0.5785 GB, free: 29.34 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.4245, allocations: 11.25 kB / 0.5785 GB, free: 29.34 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003742/0.4249, allocations: 135.9 kB / 0.5787 GB, free: 29.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004357/0.4292, allocations: 0.738 MB / 0.5794 GB, free: 29.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001841/0.4311, allocations: 0.9781 MB / 0.5803 GB, free: 28.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003632/0.4315, allocations: 370.8 kB / 0.5807 GB, free: 28.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001927/0.4317, allocations: 96.16 kB / 0.5808 GB, free: 28.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002395/0.4341, allocations: 1.37 MB / 0.5821 GB, free: 27.58 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.4341, allocations: 3.938 kB / 0.5821 GB, free: 27.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.4342, allocations: 32.44 kB / 0.5822 GB, free: 27.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.4342, allocations: 17.91 kB / 0.5822 GB, free: 27.55 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002368/0.4366, allocations: 1.31 MB / 0.5835 GB, free: 27.13 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007194/0.4438, allocations: 4.519 MB / 0.5879 GB, free: 24.58 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00726/0.4511, allocations: 3.085 MB / 0.5909 GB, free: 23.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001849/0.453, allocations: 0.9315 MB / 0.5918 GB, free: 23.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001588/0.4532, allocations: 20.52 kB / 0.5918 GB, free: 23.26 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.4532, allocations: 50.58 kB / 0.5919 GB, free: 23.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=111): time 3.837e-06/0.4532, allocations: 7.875 kB / 0.5919 GB, free: 23.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=111): time 0.04923/0.5024, allocations: 13.83 MB / 0.6054 GB, free: 21.22 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.5025, allocations: 93.42 kB / 0.6055 GB, free: 21.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001784/0.5043, allocations: 1.182 MB / 0.6066 GB, free: 20.51 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002636/0.5046, allocations: 51.58 kB / 0.6067 GB, free: 20.46 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003242/0.5049, allocations: 0.5427 MB / 0.6072 GB, free: 19.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003361/0.5053, allocations: 396.9 kB / 0.6076 GB, free: 19.63 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001839/0.5055, allocations: 149.1 kB / 0.6077 GB, free: 19.54 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 4.262e-05/0.5055, allocations: 310.6 kB / 0.608 GB, free: 19.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001843/0.5074, allocations: 0.9652 MB / 0.609 GB, free: 18.78 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002009/0.5094, allocations: 1.149 MB / 0.6101 GB, free: 18.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003811/0.5132, allocations: 2.131 MB / 0.6122 GB, free: 16.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.5132, allocations: 4 kB / 0.6122 GB, free: 16.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01598/0.5292, allocations: 6.355 MB / 0.6184 GB, free: 10.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.5293, allocations: 8.938 kB / 0.6184 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.5293, allocations: 7.938 kB / 0.6184 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008614/0.5379, allocations: 2.944 MB / 0.6213 GB, free: 7.484 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.5392, allocations: 239.6 kB / 0.6215 GB, free: 7.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005596/0.5448, allocations: 3.064 MB / 0.6245 GB, free: 4.164 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001958/0.5468, allocations: 250.5 kB / 0.6247 GB, free: 3.918 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/0.5469, allocations: 59.97 kB / 0.6248 GB, free: 3.859 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(28,29)} Notification: Performance of prepare postOptimizeDAE: time 0.0004753/0.5474, allocations: 274.1 kB / 0.625 GB, free: 3.582 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002325/0.5476, allocations: 138.2 kB / 0.6252 GB, free: 3.445 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01543/0.5631, allocations: 5.829 MB / 0.6309 GB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-05/0.5631, allocations: 15.98 kB / 0.6309 GB, free: 13.58 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/0.5632, allocations: 0 / 0.6309 GB, free: 13.58 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.679e-05/0.5632, allocations: 3.984 kB / 0.6309 GB, free: 13.58 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01898/0.5822, allocations: 7.584 MB / 0.6383 GB, free: 5.887 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/0.5822, allocations: 4 kB / 0.6383 GB, free: 5.883 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006615/0.5829, allocations: 99.89 kB / 0.6384 GB, free: 5.785 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009/0.5919, allocations: 2.708 MB / 0.641 GB, free: 3.07 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002665/0.5922, allocations: 23.94 kB / 0.6411 GB, free: 3.047 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02551/0.6177, allocations: 10.96 MB / 0.6518 GB, free: 7.941 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.6178, allocations: 7.938 kB / 0.6518 GB, free: 7.934 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01941/0.6372, allocations: 7.076 MB / 0.6587 GB, free: 0.8281 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005146/0.6377, allocations: 246.9 kB / 0.6589 GB, free: 0.5664 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002229/0.638, allocations: 24 kB / 0.6589 GB, free: 0.543 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001379/0.6394, allocations: 151.9 kB / 0.6591 GB, free: 404 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007601/0.6401, allocations: 237 kB / 0.6593 GB, free: 168 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.391e-05/0.6402, allocations: 31.98 kB / 0.6593 GB, free: 136 kB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00119/0.6414, allocations: 0.7898 MB / 0.6601 GB, free: 15.34 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6414, allocations: 4 kB / 0.6601 GB, free: 15.33 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001266/0.6427, allocations: 499.5 kB / 0.6606 GB, free: 14.84 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epq,gENROE.PSIkd,gENROE.PSIppq,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,27)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01933/0.662, allocations: 7.674 MB / 0.6681 GB, free: 7.137 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008076/0.6702, allocations: 2.964 MB / 0.671 GB, free: 4.18 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.6702, allocations: 0 / 0.671 GB, free: 4.18 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005943/0.6761, allocations: 2.108 MB / 0.673 GB, free: 2.055 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.6774, allocations: 114.7 kB / 0.6731 GB, free: 1.941 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05085/0.7283, allocations: 22.6 MB / 0.6952 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007665/0.7291, allocations: 1.151 MB / 0.6963 GB, free: 9.699 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005674/0.7297, allocations: 112.5 kB / 0.6965 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006714/0.7304, allocations: 0.5188 MB / 0.697 GB, free: 9.066 MB / 0.4948 GB Notification: Performance of SimCode: time 4.61e-07/0.7304, allocations: 4 kB / 0.697 GB, free: 9.062 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06127/0.7917, allocations: 36.23 MB / 0.7323 GB, free: 5.027 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000318/0.792, allocations: 234.9 kB / 0.7326 GB, free: 4.773 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.351/4.143, allocations: 4 kB / 0.7326 GB, free: 4.77 MB / 0.5261 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer.fmu > OpenIPSL_release_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe 2>&1)