Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.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.PSAT.PhaseShiftingTransformer_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test",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.008364/0.008365, allocations: 101.4 kB / 15.73 MB, free: 5.492 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.405/1.405, allocations: 222.9 MB / 239.4 MB, free: 4.5 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.001741/0.001741, allocations: 188.5 kB / 289.7 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4959/0.4959, allocations: 78.53 MB / 418.4 MB, free: 3.211 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001722, allocations: 75.88 kB / 0.5531 GB, free: 1.488 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4326/0.4344, allocations: 68.18 MB / 0.6197 GB, free: 9.309 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.004495/0.4389, allocations: 3.392 MB / 0.623 GB, free: 6.582 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002485/0.4414, allocations: 1.056 MB / 0.624 GB, free: 5.688 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005595/0.442, allocations: 4 kB / 0.624 GB, free: 5.684 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004696/0.4425, allocations: 95.19 kB / 0.6241 GB, free: 5.59 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation phaseShiftingTransformer.twoWindingTransformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.0008221/0.4434, allocations: 182.7 kB / 0.6243 GB, free: 5.41 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008168/0.4442, allocations: 350.9 kB / 0.6246 GB, free: 5.066 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000728/0.4449, allocations: 0.607 MB / 0.6252 GB, free: 4.457 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002666/0.4452, allocations: 156.9 kB / 0.6254 GB, free: 4.293 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003197/0.4455, allocations: 250.9 kB / 0.6256 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002638/0.4458, allocations: 266.8 kB / 0.6259 GB, free: 3.785 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.879e-05/0.4459, allocations: 55.94 kB / 0.6259 GB, free: 3.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001995/0.4461, allocations: 104 kB / 0.626 GB, free: 3.629 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.908e-05/0.4462, allocations: 119.5 kB / 0.6261 GB, free: 3.512 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.4463, allocations: 270.5 kB / 0.6264 GB, free: 3.246 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005687/0.4469, allocations: 0.6719 MB / 0.627 GB, free: 2.574 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.4469, allocations: 0 / 0.627 GB, free: 2.574 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.4469, allocations: 0 / 0.627 GB, free: 2.574 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.447, allocations: 0 / 0.627 GB, free: 2.574 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001273/0.4482, allocations: 0.8448 MB / 0.6279 GB, free: 1.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.4483, allocations: 12.03 kB / 0.6279 GB, free: 1.668 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.303e-05/0.4484, allocations: 62.67 kB / 0.6279 GB, free: 1.598 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008973/0.4493, allocations: 172.2 kB / 0.6281 GB, free: 1.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004913/0.4498, allocations: 402 kB / 0.6285 GB, free: 1 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-05/0.4499, allocations: 62.47 kB / 0.6286 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.941e-05/0.4499, allocations: 28 kB / 0.6286 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006866/0.4506, allocations: 389.9 kB / 0.629 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.4506, allocations: 8 kB / 0.629 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/0.4507, allocations: 8 kB / 0.629 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.4507, allocations: 8 kB / 0.629 GB, free: 0.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006182/0.4513, allocations: 330.5 kB / 0.6293 GB, free: 180 kB / 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.00274/0.4541, allocations: 1.856 MB / 0.6311 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.4551, allocations: 0.8088 MB / 0.6319 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004352/0.4556, allocations: 188.8 kB / 0.6321 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.192e-05/0.4556, allocations: 4 kB / 0.6321 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.4557, allocations: 30.56 kB / 0.6321 GB, free: 13.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 1.353e-06/0.4557, allocations: 0 / 0.6321 GB, free: 13.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.004461/0.4601, allocations: 1.25 MB / 0.6333 GB, free: 11.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.4602, allocations: 55.41 kB / 0.6334 GB, free: 11.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004656/0.4607, allocations: 433.9 kB / 0.6338 GB, free: 11.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.4607, allocations: 29.7 kB / 0.6338 GB, free: 11.22 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.4609, allocations: 255.9 kB / 0.6341 GB, free: 10.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.534e-05/0.461, allocations: 86.75 kB / 0.6341 GB, free: 10.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.4611, allocations: 73.58 kB / 0.6342 GB, free: 10.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.4613, allocations: 350.7 kB / 0.6346 GB, free: 10.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004036/0.4617, allocations: 188.2 kB / 0.6347 GB, free: 10.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004185/0.4621, allocations: 225.1 kB / 0.6349 GB, free: 10.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004609/0.4667, allocations: 1.294 MB / 0.6362 GB, free: 8.711 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.4667, allocations: 0 / 0.6362 GB, free: 8.711 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002315/0.4691, allocations: 0.837 MB / 0.637 GB, free: 7.859 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.4691, allocations: 19.86 kB / 0.637 GB, free: 7.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.4691, allocations: 0 / 0.637 GB, free: 7.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002115/0.4712, allocations: 0.5587 MB / 0.6376 GB, free: 7.277 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007986/0.472, allocations: 143.8 kB / 0.6377 GB, free: 7.137 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006987/0.479, allocations: 3.193 MB / 0.6408 GB, free: 3.805 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004203/0.4795, allocations: 51.62 kB / 0.6409 GB, free: 3.754 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.4795, allocations: 15.98 kB / 0.6409 GB, free: 3.738 MB / 446.1 MB Warning: Assuming fixed start value for the following 2 variables: phaseShiftingTransformer.phaseShifter.pmes:VARIABLE(start = phaseShiftingTransformer.phaseShifter.pmes0 unit = "1" fixed = true ) "Measured power flow" type: Real phaseShiftingTransformer.phaseShifter.alpha:VARIABLE(start = phaseShiftingTransformer.phaseShifter.alpha0 unit = "rad" fixed = true ) "Shifting angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (30): * Single equations (assignments): 29 * 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 {(5,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002558/0.4798, allocations: 171.9 kB / 0.6411 GB, free: 3.562 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.035e-05/0.4799, allocations: 39.53 kB / 0.6411 GB, free: 3.523 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002373/0.4823, allocations: 0.7793 MB / 0.6419 GB, free: 2.734 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.4823, allocations: 4 kB / 0.6419 GB, free: 2.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.4823, allocations: 0 / 0.6419 GB, free: 2.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4823, allocations: 0 / 0.6419 GB, free: 2.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003155/0.4854, allocations: 1.481 MB / 0.6433 GB, free: 1.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.4855, allocations: 0 / 0.6433 GB, free: 1.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008618/0.4863, allocations: 131.7 kB / 0.6434 GB, free: 1.051 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002558/0.4889, allocations: 0.6249 MB / 0.6441 GB, free: 432 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.184e-05/0.489, allocations: 11.98 kB / 0.6441 GB, free: 420 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006725/0.4957, allocations: 3.171 MB / 0.6472 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4957, allocations: 288 / 0.6472 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002837/0.4985, allocations: 1.05 MB / 0.6482 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/0.4987, allocations: 112.8 kB / 0.6483 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.413e-05/0.4988, allocations: 23.86 kB / 0.6483 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003601/0.4992, allocations: 24.05 kB / 0.6483 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001716/0.4993, allocations: 59.91 kB / 0.6484 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/0.4994, allocations: 11.98 kB / 0.6484 GB, free: 11.78 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003695/0.4998, allocations: 303.1 kB / 0.6487 GB, free: 11.48 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4998, allocations: 0 / 0.6487 GB, free: 11.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005698/0.5003, allocations: 131.7 kB / 0.6488 GB, free: 11.36 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (phaseShiftingTransformer.phaseShifter.pmes,phaseShiftingTransformer.phaseShifter.alpha) * 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 (15): * Single equations (assignments): 14 * 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 {(5,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002845/0.5032, allocations: 1.506 MB / 0.6503 GB, free: 9.82 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002678/0.5059, allocations: 0.7639 MB / 0.651 GB, free: 9.043 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.5059, allocations: 4.25 kB / 0.651 GB, free: 9.039 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002199/0.5081, allocations: 0.5685 MB / 0.6516 GB, free: 8.457 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.5085, allocations: 37.91 kB / 0.6516 GB, free: 8.418 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.5188, allocations: 4.8 MB / 0.6563 GB, free: 3.516 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004419/0.5193, allocations: 0.8233 MB / 0.6571 GB, free: 2.668 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001233/0.5194, allocations: 34.95 kB / 0.6572 GB, free: 2.633 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/0.5196, allocations: 147.4 kB / 0.6573 GB, free: 2.488 MB / 462.1 MB Notification: Performance of SimCode: time 1.032e-06/0.5196, allocations: 0 / 0.6573 GB, free: 2.488 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04125/0.5609, allocations: 12.07 MB / 0.6691 GB, free: 6.555 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.47, allocations: 15.11 kB / 0.6691 GB, free: 6.547 MB / 478.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test.fmu > OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1)