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.1852/0.1852, allocations: 12.2 MB / 27.43 MB, free: 0.8906 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.002204/0.002204, allocations: 111.4 kB / 30.94 MB, free: 4.43 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.774/1.774, allocations: 205.1 MB / 239.4 MB, free: 10.86 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.001928/0.001928, allocations: 195.5 kB / 289.6 MB, free: 13.81 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5292/0.5292, allocations: 78.49 MB / 418.1 MB, free: 11.88 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.003013/0.003012, allocations: 128.9 kB / 498.5 MB, free: 11.67 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.4058, allocations: 68.04 MB / 0.5533 GB, free: 22.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer): time 0.007266/0.4131, allocations: 7.947 MB / 0.561 GB, free: 14.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004961/0.4181, allocations: 2.306 MB / 0.5633 GB, free: 12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008251/0.419, allocations: 12 kB / 0.5633 GB, free: 11.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006309/0.4197, allocations: 234.6 kB / 0.5635 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002419/0.4221, allocations: 1.089 MB / 0.5646 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.4233, allocations: 0.5493 MB / 0.5651 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001856/0.4252, allocations: 2.006 MB / 0.5671 GB, free: 8.117 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004299/0.4256, allocations: 341 kB / 0.5674 GB, free: 7.762 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006606/0.4263, allocations: 0.7819 MB / 0.5682 GB, free: 6.977 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008004/0.4271, allocations: 1.004 MB / 0.5691 GB, free: 5.969 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000174/0.4273, allocations: 148 kB / 0.5693 GB, free: 5.824 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006055/0.4279, allocations: 379.7 kB / 0.5696 GB, free: 5.453 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002684/0.4282, allocations: 398.4 kB / 0.57 GB, free: 5.062 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005219/0.4287, allocations: 0.808 MB / 0.5708 GB, free: 4.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001658/0.4304, allocations: 1.997 MB / 0.5728 GB, free: 2.246 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.4304, allocations: 0 / 0.5728 GB, free: 2.246 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4304, allocations: 0 / 0.5728 GB, free: 2.246 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.619e-05/0.4304, allocations: 4 kB / 0.5728 GB, free: 2.242 MB / 382.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.01378/0.4442, allocations: 3.869 MB / 0.5765 GB, free: 14.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.245e-05/0.4443, allocations: 11.98 kB / 0.5766 GB, free: 14.31 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002032/0.4445, allocations: 143.2 kB / 0.5767 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004369/0.4489, allocations: 0.7238 MB / 0.5774 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001759/0.4506, allocations: 0.9742 MB / 0.5784 GB, free: 12.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004721/0.4511, allocations: 369.2 kB / 0.5787 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002022/0.4513, allocations: 96 kB / 0.5788 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002794/0.4541, allocations: 1.285 MB / 0.5801 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/0.4542, allocations: 0 / 0.5801 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/0.4543, allocations: 32 kB / 0.5801 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.4543, allocations: 28 kB / 0.5801 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002721/0.4571, allocations: 1.218 MB / 0.5813 GB, free: 9.32 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.00825/0.4653, allocations: 4.434 MB / 0.5856 GB, free: 4.684 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007833/0.4732, allocations: 2.516 MB / 0.5881 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001771/0.475, allocations: 0.8562 MB / 0.5889 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001448/0.4751, allocations: 24.92 kB / 0.5889 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.4752, allocations: 43.56 kB / 0.589 GB, free: 1.129 MB / 398.1 MB Notification: Performance of pre-optimization done (n=111): time 4.268e-06/0.4752, allocations: 0 / 0.589 GB, free: 1.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=111): time 0.04898/0.5242, allocations: 11.35 MB / 0.6001 GB, free: 5.742 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.026e-05/0.5243, allocations: 86.11 kB / 0.6002 GB, free: 5.637 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002099/0.5264, allocations: 1.187 MB / 0.6013 GB, free: 4.441 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003355/0.5268, allocations: 49.7 kB / 0.6014 GB, free: 4.387 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004929/0.5273, allocations: 0.5368 MB / 0.6019 GB, free: 3.844 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005081/0.5278, allocations: 402.2 kB / 0.6023 GB, free: 3.445 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005768/0.5284, allocations: 291.3 kB / 0.6025 GB, free: 3.156 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.5285, allocations: 305.1 kB / 0.6028 GB, free: 2.855 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001938/0.5305, allocations: 0.8824 MB / 0.6037 GB, free: 1.973 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002013/0.5325, allocations: 1.073 MB / 0.6047 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003758/0.5363, allocations: 1.964 MB / 0.6067 GB, free: 14.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/0.5363, allocations: 4 kB / 0.6067 GB, free: 14.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01759/0.5539, allocations: 5.316 MB / 0.6119 GB, free: 9.508 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.32e-05/0.554, allocations: 10.97 kB / 0.6119 GB, free: 9.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.554, allocations: 8.25 kB / 0.6119 GB, free: 9.492 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00947/0.5635, allocations: 2.576 MB / 0.6144 GB, free: 6.906 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/0.5649, allocations: 239.6 kB / 0.6146 GB, free: 6.672 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006475/0.5714, allocations: 2.732 MB / 0.6173 GB, free: 3.918 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002362/0.5737, allocations: 210.5 kB / 0.6175 GB, free: 3.711 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/0.5739, allocations: 59.98 kB / 0.6175 GB, free: 3.652 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.0006238/0.5745, allocations: 277.5 kB / 0.6178 GB, free: 3.371 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002933/0.5748, allocations: 138.2 kB / 0.6179 GB, free: 3.234 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01628/0.5911, allocations: 4.786 MB / 0.6226 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.462e-05/0.5912, allocations: 8 kB / 0.6226 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.504e-05/0.5912, allocations: 4 kB / 0.6226 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.5e-05/0.5913, allocations: 7.969 kB / 0.6226 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01951/0.6108, allocations: 6.533 MB / 0.629 GB, free: 7.762 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.585e-05/0.6109, allocations: 0 / 0.629 GB, free: 7.762 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007038/0.6116, allocations: 107.8 kB / 0.6291 GB, free: 7.656 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008386/0.62, allocations: 2.337 MB / 0.6314 GB, free: 5.316 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001663/0.6202, allocations: 20 kB / 0.6314 GB, free: 5.297 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0305/0.6507, allocations: 10.78 MB / 0.6419 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.6508, allocations: 0 / 0.6419 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02056/0.6713, allocations: 5.94 MB / 0.6477 GB, free: 4.406 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000878/0.6723, allocations: 243 kB / 0.648 GB, free: 4.148 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005926/0.6729, allocations: 31.94 kB / 0.648 GB, free: 4.117 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001972/0.6749, allocations: 111.8 kB / 0.6481 GB, free: 4.008 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001105/0.676, allocations: 237.1 kB / 0.6483 GB, free: 3.777 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001998/0.6762, allocations: 31.98 kB / 0.6484 GB, free: 3.746 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001569/0.6778, allocations: 0.8013 MB / 0.6492 GB, free: 2.941 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.32e-07/0.6778, allocations: 0 / 0.6492 GB, free: 2.941 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002383/0.6802, allocations: 499.5 kB / 0.6496 GB, free: 2.453 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.02004/0.7003, allocations: 6.534 MB / 0.656 GB, free: 11.88 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009955/0.7103, allocations: 2.671 MB / 0.6586 GB, free: 9.215 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/0.7103, allocations: 4 kB / 0.6586 GB, free: 9.211 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006847/0.7172, allocations: 1.863 MB / 0.6604 GB, free: 7.328 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002676/0.7199, allocations: 120.7 kB / 0.6606 GB, free: 7.211 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05902/0.779, allocations: 20.28 MB / 0.6804 GB, free: 2.473 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001392/0.7804, allocations: 1.159 MB / 0.6815 GB, free: 1.285 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000806/0.7813, allocations: 116.5 kB / 0.6816 GB, free: 1.168 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001222/0.7825, allocations: 0.5226 MB / 0.6821 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of SimCode: time 1.213e-06/0.7825, allocations: 4 kB / 0.6821 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4414/1.224, allocations: 38.56 MB / 0.7198 GB, free: 95.79 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002265/1.224, allocations: 233.3 kB / 0.72 GB, free: 95.54 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.228/4.452, allocations: 0 / 0.72 GB, free: 95.54 MB / 494.1 MB (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)