Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.conf.json 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 4.0.0+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 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 238.8 MB, free: 4.734 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 188.5 kB / 289.1 MB, free: 2.484 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4582/0.4582, allocations: 78.52 MB / 417.8 MB, free: 3.332 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 79.88 kB / 496.9 MB, free: 6.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1388, allocations: 68.16 MB / 0.5518 GB, free: 2.52 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer): time 0.2749/0.4138, allocations: 7.873 MB / 0.5595 GB, free: 35.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004104/0.418, allocations: 2.35 MB / 0.5618 GB, free: 34.61 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005678/0.4186, allocations: 16.16 kB / 0.5618 GB, free: 34.61 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005923/0.4192, allocations: 233 kB / 0.562 GB, free: 34.6 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002238/0.4214, allocations: 1.093 MB / 0.5631 GB, free: 34.36 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.4225, allocations: 0.5377 MB / 0.5636 GB, free: 34.32 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00173/0.4242, allocations: 1.931 MB / 0.5655 GB, free: 34.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003877/0.4246, allocations: 303.4 kB / 0.5658 GB, free: 34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006744/0.4253, allocations: 0.7052 MB / 0.5665 GB, free: 33.8 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008098/0.4261, allocations: 0.9608 MB / 0.5674 GB, free: 33.55 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001781/0.4263, allocations: 92.75 kB / 0.5675 GB, free: 33.55 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006092/0.4269, allocations: 316.5 kB / 0.5678 GB, free: 33.53 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002612/0.4272, allocations: 338.5 kB / 0.5681 GB, free: 33.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005878/0.4278, allocations: 0.7488 MB / 0.5688 GB, free: 33.15 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.4292, allocations: 1.95 MB / 0.5707 GB, free: 32.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4292, allocations: 2.531 kB / 0.5708 GB, free: 32.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.4292, allocations: 0 / 0.5708 GB, free: 32.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.558e-05/0.4292, allocations: 0 / 0.5708 GB, free: 32.68 MB / 430.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.01351/0.4428, allocations: 3.876 MB / 0.5745 GB, free: 31.63 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/0.4428, allocations: 10.34 kB / 0.5745 GB, free: 31.63 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001809/0.443, allocations: 137.8 kB / 0.5747 GB, free: 31.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004125/0.4472, allocations: 0.727 MB / 0.5754 GB, free: 31.48 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/0.4486, allocations: 0.9705 MB / 0.5763 GB, free: 31.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003164/0.4489, allocations: 366.6 kB / 0.5767 GB, free: 30.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001819/0.4491, allocations: 95.66 kB / 0.5768 GB, free: 30.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002286/0.4514, allocations: 1.292 MB / 0.578 GB, free: 30.67 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.4514, allocations: 0 / 0.578 GB, free: 30.67 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.4515, allocations: 35.53 kB / 0.5781 GB, free: 30.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.4516, allocations: 21.23 kB / 0.5781 GB, free: 30.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002296/0.4539, allocations: 1.217 MB / 0.5793 GB, free: 30.57 MB / 430.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.007659/0.4615, allocations: 4.432 MB / 0.5836 GB, free: 28.03 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007459/0.469, allocations: 2.523 MB / 0.5861 GB, free: 27.14 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001726/0.4708, allocations: 0.8559 MB / 0.5869 GB, free: 26.79 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001423/0.4709, allocations: 17.11 kB / 0.5869 GB, free: 26.79 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.471, allocations: 45.09 kB / 0.587 GB, free: 26.74 MB / 430.1 MB Notification: Performance of pre-optimization done (n=111): time 3.136e-06/0.471, allocations: 0 / 0.587 GB, free: 26.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=111): time 0.05086/0.5218, allocations: 11.35 MB / 0.5981 GB, free: 25.05 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.01e-05/0.5219, allocations: 91.03 kB / 0.5981 GB, free: 24.95 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002135/0.5241, allocations: 1.189 MB / 0.5993 GB, free: 24.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002834/0.5244, allocations: 47.77 kB / 0.5993 GB, free: 24.42 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003935/0.5248, allocations: 0.5422 MB / 0.5999 GB, free: 23.99 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004325/0.5252, allocations: 407 kB / 0.6003 GB, free: 23.67 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005876/0.5258, allocations: 284.7 kB / 0.6005 GB, free: 23.54 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.178e-05/0.5259, allocations: 309.9 kB / 0.6008 GB, free: 23.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001942/0.5278, allocations: 0.8839 MB / 0.6017 GB, free: 22.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001999/0.5299, allocations: 1.068 MB / 0.6027 GB, free: 22.26 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003696/0.5336, allocations: 1.957 MB / 0.6046 GB, free: 21.17 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/0.5336, allocations: 1.281 kB / 0.6046 GB, free: 21.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01673/0.5503, allocations: 5.317 MB / 0.6098 GB, free: 18.55 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.5504, allocations: 6.438 kB / 0.6098 GB, free: 18.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.5504, allocations: 12.06 kB / 0.6099 GB, free: 18.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008874/0.5593, allocations: 2.563 MB / 0.6124 GB, free: 17.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.5605, allocations: 239.6 kB / 0.6126 GB, free: 16.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005614/0.5661, allocations: 2.748 MB / 0.6153 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002127/0.5683, allocations: 206.5 kB / 0.6155 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002639/0.5686, allocations: 55.98 kB / 0.6155 GB, free: 13.96 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.000717/0.5693, allocations: 277.5 kB / 0.6158 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005387/0.5698, allocations: 142.2 kB / 0.6159 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01438/0.5842, allocations: 4.771 MB / 0.6206 GB, free: 8.742 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-05/0.5843, allocations: 15.94 kB / 0.6206 GB, free: 8.727 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.5843, allocations: 0 / 0.6206 GB, free: 8.727 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.069e-05/0.5843, allocations: 7.969 kB / 0.6206 GB, free: 8.719 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01728/0.6016, allocations: 6.542 MB / 0.627 GB, free: 2.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/0.6017, allocations: 4 kB / 0.627 GB, free: 2.066 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005927/0.6023, allocations: 103.8 kB / 0.6271 GB, free: 1.965 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007806/0.6101, allocations: 2.335 MB / 0.6294 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001956/0.6103, allocations: 24 kB / 0.6294 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02647/0.6368, allocations: 9.81 MB / 0.639 GB, free: 5.656 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.6369, allocations: 1.406 kB / 0.639 GB, free: 5.656 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01924/0.6561, allocations: 5.952 MB / 0.6448 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006539/0.6568, allocations: 243 kB / 0.645 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004911/0.6573, allocations: 20 kB / 0.645 GB, free: 15.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001697/0.6591, allocations: 107.9 kB / 0.6451 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009279/0.66, allocations: 237 kB / 0.6454 GB, free: 15.06 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001528/0.6602, allocations: 31.98 kB / 0.6454 GB, free: 15.03 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001561/0.6617, allocations: 0.7974 MB / 0.6462 GB, free: 14.23 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.6618, allocations: 0 / 0.6462 GB, free: 14.23 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002098/0.6639, allocations: 0.4955 MB / 0.6467 GB, free: 13.73 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.01888/0.6828, allocations: 6.539 MB / 0.6531 GB, free: 7.16 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008353/0.6911, allocations: 2.613 MB / 0.6556 GB, free: 4.551 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.6912, allocations: 4 kB / 0.6556 GB, free: 4.547 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006046/0.6972, allocations: 1.822 MB / 0.6574 GB, free: 2.719 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002058/0.6993, allocations: 112.8 kB / 0.6575 GB, free: 2.609 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05097/0.7503, allocations: 20.29 MB / 0.6773 GB, free: 13.93 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/0.7514, allocations: 1.159 MB / 0.6784 GB, free: 12.73 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006954/0.7522, allocations: 116.9 kB / 0.6785 GB, free: 12.62 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008888/0.7531, allocations: 0.5149 MB / 0.6791 GB, free: 12.11 MB / 494.1 MB Notification: Performance of SimCode: time 6.01e-07/0.7531, allocations: 0 / 0.6791 GB, free: 12.11 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06498/0.8181, allocations: 36.85 MB / 0.715 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001908/0.8183, allocations: 222.1 kB / 0.7152 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.714/3.532, allocations: 1.859 kB / 0.7153 GB, free: 7.328 MB / 0.5137 GB (rm -f OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Branches_PSSE_TwoWindingTransformer.fmu > OpenIPSL_OpenIPSL.Tests.Branches.PSSE.TwoWindingTransformer.pipe 2>&1)