Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/Modelica 3.2.3+maint.om/package.mo", uses=false) 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/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08413/0.08413, allocations: 12.2 MB / 27.32 MB, free: 0.9414 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 111.5 kB / 30.83 MB, free: 4.477 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.1 MB / 239.3 MB, free: 12.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 196.5 kB / 289.5 MB, free: 14.13 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.418/0.418, allocations: 78.52 MB / 418 MB, free: 12.05 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002452/0.002452, allocations: 131.7 kB / 498.3 MB, free: 11.88 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3045, allocations: 68.02 MB / 0.5531 GB, free: 32.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer): time 0.007412/0.312, allocations: 7.94 MB / 0.5608 GB, free: 26.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004974/0.317, allocations: 2.327 MB / 0.5631 GB, free: 25.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001383/0.3184, allocations: 13.38 kB / 0.5631 GB, free: 25.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007674/0.3192, allocations: 234.2 kB / 0.5633 GB, free: 25.01 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002897/0.3221, allocations: 1.099 MB / 0.5644 GB, free: 24.17 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.3235, allocations: 0.53 MB / 0.5649 GB, free: 23.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002339/0.3258, allocations: 1.933 MB / 0.5668 GB, free: 22.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004724/0.3263, allocations: 296.1 kB / 0.5671 GB, free: 22.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008941/0.3272, allocations: 0.7157 MB / 0.5678 GB, free: 22.08 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009099/0.3281, allocations: 0.9634 MB / 0.5687 GB, free: 21.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002106/0.3283, allocations: 92.16 kB / 0.5688 GB, free: 21.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007458/0.3291, allocations: 310.7 kB / 0.5691 GB, free: 21.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002607/0.3293, allocations: 346 kB / 0.5695 GB, free: 21.04 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005785/0.3299, allocations: 0.7503 MB / 0.5702 GB, free: 20.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001523/0.3315, allocations: 1.949 MB / 0.5721 GB, free: 19.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3315, allocations: 0 / 0.5721 GB, free: 19.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3315, allocations: 1.188 kB / 0.5721 GB, free: 19.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.156e-05/0.3315, allocations: 4 kB / 0.5721 GB, free: 19.02 MB / 398.1 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.01514/0.3467, allocations: 3.867 MB / 0.5759 GB, free: 16.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.3467, allocations: 12.3 kB / 0.5759 GB, free: 16.88 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001683/0.3469, allocations: 144.1 kB / 0.576 GB, free: 16.74 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004202/0.3511, allocations: 0.7278 MB / 0.5767 GB, free: 16.01 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/0.3525, allocations: 0.9741 MB / 0.5777 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002823/0.3528, allocations: 361.3 kB / 0.578 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/0.353, allocations: 96 kB / 0.5781 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002192/0.3552, allocations: 1.285 MB / 0.5794 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.3552, allocations: 0 / 0.5794 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.3553, allocations: 35.98 kB / 0.5794 GB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.3553, allocations: 24 kB / 0.5794 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002178/0.3575, allocations: 1.218 MB / 0.5806 GB, free: 11.91 MB / 398.1 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.006712/0.3642, allocations: 4.442 MB / 0.585 GB, free: 7.262 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00674/0.371, allocations: 2.515 MB / 0.5874 GB, free: 4.652 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001443/0.3725, allocations: 0.8562 MB / 0.5883 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001272/0.3726, allocations: 16.98 kB / 0.5883 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.3726, allocations: 51.5 kB / 0.5883 GB, free: 3.707 MB / 398.1 MB Notification: Performance of pre-optimization done (n=111): time 3.657e-06/0.3726, allocations: 0 / 0.5883 GB, free: 3.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=111): time 0.0482/0.4209, allocations: 11.35 MB / 0.5994 GB, free: 8.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.239e-05/0.421, allocations: 90.09 kB / 0.5995 GB, free: 8.211 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001939/0.4229, allocations: 1.188 MB / 0.6006 GB, free: 7.016 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000286/0.4232, allocations: 49.7 kB / 0.6007 GB, free: 6.961 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004332/0.4237, allocations: 0.5368 MB / 0.6012 GB, free: 6.418 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004525/0.4241, allocations: 402.2 kB / 0.6016 GB, free: 6.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005412/0.4247, allocations: 283.4 kB / 0.6019 GB, free: 5.738 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.4248, allocations: 313 kB / 0.6022 GB, free: 5.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001912/0.4267, allocations: 0.8824 MB / 0.603 GB, free: 4.547 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001999/0.4287, allocations: 1.069 MB / 0.6041 GB, free: 3.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00375/0.4325, allocations: 1.964 MB / 0.606 GB, free: 1.426 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.4325, allocations: 4 kB / 0.606 GB, free: 1.422 MB / 414.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01721/0.4497, allocations: 5.309 MB / 0.6112 GB, free: 12.1 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/0.4498, allocations: 10.81 kB / 0.6112 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/0.4498, allocations: 7.938 kB / 0.6112 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009637/0.4595, allocations: 2.564 MB / 0.6137 GB, free: 9.508 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.4608, allocations: 239.7 kB / 0.6139 GB, free: 9.273 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006532/0.4673, allocations: 2.752 MB / 0.6166 GB, free: 6.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002252/0.4696, allocations: 206.5 kB / 0.6168 GB, free: 6.297 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003027/0.47, allocations: 55.98 kB / 0.6169 GB, free: 6.242 MB / 430.1 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.0007874/0.4708, allocations: 273.5 kB / 0.6171 GB, free: 5.965 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005601/0.4713, allocations: 138.2 kB / 0.6173 GB, free: 5.828 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01618/0.4875, allocations: 4.786 MB / 0.6219 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.37e-05/0.4876, allocations: 12 kB / 0.6219 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.4876, allocations: 4 kB / 0.6219 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.17e-05/0.4877, allocations: 3.984 kB / 0.622 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01956/0.5072, allocations: 6.537 MB / 0.6283 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.08e-05/0.5073, allocations: 0 / 0.6283 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006962/0.508, allocations: 107.9 kB / 0.6284 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0085/0.5165, allocations: 2.333 MB / 0.6307 GB, free: 7.906 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002416/0.5168, allocations: 23.98 kB / 0.6307 GB, free: 7.883 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02618/0.543, allocations: 9.819 MB / 0.6403 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.543, allocations: 0 / 0.6403 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01879/0.5619, allocations: 5.94 MB / 0.6461 GB, free: 7.957 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007142/0.5626, allocations: 247 kB / 0.6464 GB, free: 7.695 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005331/0.5632, allocations: 20 kB / 0.6464 GB, free: 7.676 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001768/0.565, allocations: 107.9 kB / 0.6465 GB, free: 7.57 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009863/0.566, allocations: 237 kB / 0.6467 GB, free: 7.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001873/0.5662, allocations: 35.98 kB / 0.6467 GB, free: 7.305 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001573/0.5678, allocations: 0.7896 MB / 0.6475 GB, free: 6.512 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.583e-06/0.5678, allocations: 4 kB / 0.6475 GB, free: 6.508 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002066/0.5698, allocations: 0.4917 MB / 0.648 GB, free: 6.016 MB / 462.1 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.01926/0.5891, allocations: 6.541 MB / 0.6544 GB, free: 15.43 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00869/0.5979, allocations: 2.613 MB / 0.6569 GB, free: 12.83 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.5979, allocations: 0 / 0.6569 GB, free: 12.83 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006069/0.604, allocations: 1.818 MB / 0.6587 GB, free: 11 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/0.606, allocations: 108.8 kB / 0.6588 GB, free: 10.89 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05344/0.6594, allocations: 20.31 MB / 0.6787 GB, free: 6.133 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/0.6605, allocations: 1.151 MB / 0.6798 GB, free: 4.949 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007084/0.6613, allocations: 124.5 kB / 0.6799 GB, free: 4.824 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009687/0.6622, allocations: 0.5188 MB / 0.6804 GB, free: 4.305 MB / 494.1 MB Notification: Performance of SimCode: time 1.072e-06/0.6623, allocations: 0 / 0.6804 GB, free: 4.305 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.28/0.9423, allocations: 36.83 MB / 0.7164 GB, free: 145.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001415/0.9425, allocations: 232.4 kB / 0.7166 GB, free: 145.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.845/3.787, allocations: 0 / 0.7166 GB, free: 145.2 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe 2>&1)