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-master/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-master/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-master/package.mo): time 0.09132/0.09132, allocations: 12.6 MB / 28.1 MB, free: 184 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001191, allocations: 107.5 kB / 31.7 MB, free: 3.492 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.412/1.412, allocations: 205.1 MB / 240.3 MB, free: 12.43 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.001774/0.001774, allocations: 188.5 kB / 290.5 MB, free: 13.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4758/0.4758, allocations: 78.51 MB / 419.2 MB, free: 11.34 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.003118/0.003118, allocations: 140.9 kB / 499.9 MB, free: 10.74 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3348, allocations: 68.1 MB / 0.5547 GB, free: 32.73 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer): time 0.007354/0.3422, allocations: 7.57 MB / 0.5621 GB, free: 27.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004909/0.3472, allocations: 2.259 MB / 0.5643 GB, free: 25.31 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.3485, allocations: 12 kB / 0.5643 GB, free: 25.31 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007526/0.3493, allocations: 301.5 kB / 0.5646 GB, free: 25.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003305/0.3527, allocations: 1.216 MB / 0.5658 GB, free: 24.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.3541, allocations: 0.5829 MB / 0.5663 GB, free: 23.69 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002589/0.3567, allocations: 2.013 MB / 0.5683 GB, free: 22.51 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005358/0.3572, allocations: 342.6 kB / 0.5686 GB, free: 22.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001097/0.3583, allocations: 0.7682 MB / 0.5694 GB, free: 21.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000961/0.3593, allocations: 1.01 MB / 0.5704 GB, free: 21.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002556/0.3595, allocations: 147.2 kB / 0.5705 GB, free: 21.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007893/0.3603, allocations: 372.8 kB / 0.5708 GB, free: 21.05 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002729/0.3606, allocations: 400.9 kB / 0.5712 GB, free: 20.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006054/0.3613, allocations: 0.8011 MB / 0.572 GB, free: 20.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001983/0.3632, allocations: 2.001 MB / 0.574 GB, free: 18.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.3633, allocations: 4 kB / 0.574 GB, free: 18.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.3633, allocations: 1 kB / 0.574 GB, free: 18.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.018e-05/0.3633, allocations: 0 / 0.574 GB, free: 18.61 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.01457/0.3779, allocations: 3.871 MB / 0.5778 GB, free: 15.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.3779, allocations: 11.98 kB / 0.5778 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001625/0.3781, allocations: 143.2 kB / 0.5779 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004275/0.3824, allocations: 0.7238 MB / 0.5786 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/0.3838, allocations: 0.9742 MB / 0.5796 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003268/0.3842, allocations: 361.3 kB / 0.5799 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001763/0.3844, allocations: 92 kB / 0.58 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002293/0.3867, allocations: 1.293 MB / 0.5813 GB, free: 12.08 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.3867, allocations: 0 / 0.5813 GB, free: 12.08 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.3868, allocations: 36 kB / 0.5813 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.3868, allocations: 23.98 kB / 0.5813 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002265/0.3891, allocations: 1.21 MB / 0.5825 GB, free: 10.81 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.006797/0.3959, allocations: 4.434 MB / 0.5868 GB, free: 6.176 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007019/0.4029, allocations: 2.531 MB / 0.5893 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001723/0.4047, allocations: 0.8484 MB / 0.5901 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001181/0.4048, allocations: 20.98 kB / 0.5901 GB, free: 2.664 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.4049, allocations: 43.56 kB / 0.5902 GB, free: 2.613 MB / 398.1 MB Notification: Performance of pre-optimization done (n=111): time 3.677e-06/0.4049, allocations: 4 kB / 0.5902 GB, free: 2.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=111): time 0.04763/0.4525, allocations: 11.34 MB / 0.6013 GB, free: 7.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.755e-05/0.4526, allocations: 98.03 kB / 0.6014 GB, free: 7.113 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001957/0.4546, allocations: 1.188 MB / 0.6025 GB, free: 5.918 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003115/0.4549, allocations: 49.7 kB / 0.6026 GB, free: 5.863 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004176/0.4554, allocations: 0.5329 MB / 0.6031 GB, free: 5.324 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004939/0.4559, allocations: 406.2 kB / 0.6035 GB, free: 4.922 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005312/0.4564, allocations: 287.4 kB / 0.6037 GB, free: 4.637 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.4565, allocations: 305.1 kB / 0.604 GB, free: 4.336 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00192/0.4584, allocations: 0.8902 MB / 0.6049 GB, free: 3.445 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002097/0.4605, allocations: 1.073 MB / 0.606 GB, free: 2.324 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003844/0.4644, allocations: 1.956 MB / 0.6079 GB, free: 332 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.4644, allocations: 0 / 0.6079 GB, free: 332 kB / 414.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01784/0.4823, allocations: 5.316 MB / 0.6131 GB, free: 10.99 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/0.4824, allocations: 8 kB / 0.6131 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.4824, allocations: 7.938 kB / 0.6131 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009673/0.4921, allocations: 2.565 MB / 0.6156 GB, free: 8.406 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/0.4935, allocations: 243.6 kB / 0.6158 GB, free: 8.168 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007166/0.5007, allocations: 2.744 MB / 0.6185 GB, free: 5.398 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002504/0.5032, allocations: 202.5 kB / 0.6187 GB, free: 5.199 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003554/0.5036, allocations: 67.91 kB / 0.6187 GB, free: 5.133 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.000869/0.5045, allocations: 273.5 kB / 0.619 GB, free: 4.855 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000558/0.5051, allocations: 142.2 kB / 0.6191 GB, free: 4.715 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01652/0.5216, allocations: 4.782 MB / 0.6238 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.372e-05/0.5217, allocations: 12 kB / 0.6238 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/0.5217, allocations: 7.938 kB / 0.6238 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-05/0.5217, allocations: 7.984 kB / 0.6238 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02079/0.5425, allocations: 6.541 MB / 0.6302 GB, free: 9.234 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/0.5426, allocations: 0 / 0.6302 GB, free: 9.234 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007044/0.5433, allocations: 103.9 kB / 0.6303 GB, free: 9.133 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008814/0.5521, allocations: 2.329 MB / 0.6326 GB, free: 6.801 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002552/0.5524, allocations: 27.98 kB / 0.6326 GB, free: 6.773 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02949/0.5819, allocations: 10.77 MB / 0.6431 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.582, allocations: 0 / 0.6431 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01965/0.6016, allocations: 5.951 MB / 0.649 GB, free: 5.883 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007482/0.6024, allocations: 243 kB / 0.6492 GB, free: 5.625 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005488/0.603, allocations: 20 kB / 0.6492 GB, free: 5.605 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001819/0.6048, allocations: 111.9 kB / 0.6493 GB, free: 5.496 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009609/0.6058, allocations: 245.1 kB / 0.6495 GB, free: 5.258 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001812/0.606, allocations: 24 kB / 0.6496 GB, free: 5.234 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001513/0.6075, allocations: 0.8013 MB / 0.6503 GB, free: 4.43 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6076, allocations: 0 / 0.6503 GB, free: 4.43 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002041/0.6096, allocations: 0.4917 MB / 0.6508 GB, free: 3.938 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.01982/0.6294, allocations: 6.538 MB / 0.6572 GB, free: 13.36 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009402/0.6389, allocations: 2.667 MB / 0.6598 GB, free: 10.7 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.6389, allocations: 3.938 kB / 0.6598 GB, free: 10.7 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006663/0.6456, allocations: 1.872 MB / 0.6616 GB, free: 8.805 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/0.6477, allocations: 120.8 kB / 0.6618 GB, free: 8.688 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05363/0.7013, allocations: 19.83 MB / 0.6811 GB, free: 4.41 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/0.7024, allocations: 1.155 MB / 0.6823 GB, free: 3.227 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006907/0.7031, allocations: 112.5 kB / 0.6824 GB, free: 3.113 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009008/0.704, allocations: 0.5227 MB / 0.6829 GB, free: 2.59 MB / 494.1 MB Notification: Performance of SimCode: time 1.343e-06/0.7041, allocations: 7.938 kB / 0.6829 GB, free: 2.582 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3254/1.029, allocations: 39.84 MB / 0.7218 GB, free: 128.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.98, allocations: 2.125 kB / 0.7218 GB, free: 128.4 MB / 0.4981 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)