Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 120.7 kB / 17.79 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 186.9 kB / 20.73 MB, free: 2.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 225.6 MB / 249.1 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1828/0.1828, allocations: 38.51 MB / 342.5 MB, free: 8.133 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(PowerSystems.Examples.AC3ph.Elementary.Transformer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Transformer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 65.95 kB / 478.6 MB, free: 33.63 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1154, allocations: 61.24 MB / 0.5272 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.009082/0.1245, allocations: 6.6 MB / 0.5337 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005452/0.13, allocations: 2.446 MB / 0.5361 GB, free: 8.297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.131, allocations: 19.88 kB / 0.5361 GB, free: 8.277 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002384/0.1333, allocations: 0.6207 MB / 0.5367 GB, free: 7.656 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001975/0.1353, allocations: 0.6847 MB / 0.5373 GB, free: 6.969 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001555/0.1369, allocations: 459 kB / 0.5378 GB, free: 6.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002276/0.1392, allocations: 1.361 MB / 0.5391 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006922/0.1398, allocations: 380 kB / 0.5395 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.1409, allocations: 0.5798 MB / 0.54 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001406/0.1423, allocations: 0.8528 MB / 0.5409 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.1425, allocations: 76 kB / 0.5409 GB, free: 3.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006434/0.1431, allocations: 287.5 kB / 0.5412 GB, free: 2.988 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005714/0.1437, allocations: 0.5298 MB / 0.5417 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006019/0.1443, allocations: 0.5247 MB / 0.5423 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00171/0.146, allocations: 1.339 MB / 0.5436 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.146, allocations: 4 kB / 0.5436 GB, free: 0.582 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.146, allocations: 0 / 0.5436 GB, free: 0.582 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.514e-05/0.146, allocations: 0 / 0.5436 GB, free: 0.582 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.002613/0.1486, allocations: 1.352 MB / 0.5449 GB, free: 15.17 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.1487, allocations: 15.89 kB / 0.5449 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001925/0.1489, allocations: 152.3 kB / 0.545 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/0.15, allocations: 204.1 kB / 0.5452 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001519/0.1515, allocations: 0.7101 MB / 0.5459 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.137e-05/0.1516, allocations: 66.36 kB / 0.546 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002224/0.1518, allocations: 95.91 kB / 0.5461 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002202/0.154, allocations: 1.384 MB / 0.5474 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.939e-05/0.154, allocations: 11.89 kB / 0.5474 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.923e-05/0.1541, allocations: 35.98 kB / 0.5475 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002838/0.1544, allocations: 121.9 kB / 0.5476 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001867/0.1563, allocations: 1.096 MB / 0.5487 GB, free: 11.14 MB / 414.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.007708/0.164, allocations: 5.951 MB / 0.5545 GB, free: 4.875 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.1651, allocations: 0.6584 MB / 0.5551 GB, free: 4.184 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004556/0.1655, allocations: 287.3 kB / 0.5554 GB, free: 3.895 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.938e-05/0.1656, allocations: 12.55 kB / 0.5554 GB, free: 3.883 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006983/0.1663, allocations: 480.6 kB / 0.5559 GB, free: 3.383 MB / 414.1 MB Notification: Performance of pre-optimization done (n=65): time 2.064e-06/0.1663, allocations: 0 / 0.5559 GB, free: 3.383 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.00356/0.1699, allocations: 2.178 MB / 0.558 GB, free: 1.133 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/0.17, allocations: 166.8 kB / 0.5582 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007818/0.1708, allocations: 0.6369 MB / 0.5588 GB, free: 296 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.913e-05/0.1708, allocations: 41.64 kB / 0.5588 GB, free: 248 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004684/0.1713, allocations: 0.5463 MB / 0.5593 GB, free: 15.69 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002188/0.1715, allocations: 242 kB / 0.5596 GB, free: 15.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002816/0.1718, allocations: 198.8 kB / 0.5598 GB, free: 15.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002173/0.172, allocations: 394.7 kB / 0.5601 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005358/0.1725, allocations: 338.4 kB / 0.5605 GB, free: 14.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009996/0.1735, allocations: 0.7698 MB / 0.5612 GB, free: 13.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/0.1751, allocations: 1.252 MB / 0.5624 GB, free: 12.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.1751, allocations: 4 kB / 0.5624 GB, free: 12.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002646/0.1777, allocations: 1.431 MB / 0.5638 GB, free: 10.63 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.793e-05/0.1778, allocations: 45.62 kB / 0.5639 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00147/0.1793, allocations: 0.7782 MB / 0.5646 GB, free: 9.793 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007821/0.1801, allocations: 253.4 kB / 0.5649 GB, free: 9.539 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007011/0.1808, allocations: 215.6 kB / 0.5651 GB, free: 9.328 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005536/0.1863, allocations: 4.374 MB / 0.5694 GB, free: 4.672 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008269/0.1871, allocations: 55.92 kB / 0.5694 GB, free: 4.617 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.1872, allocations: 63.97 kB / 0.5695 GB, free: 4.555 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007132/0.188, allocations: 407.1 kB / 0.5699 GB, free: 4.141 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.1881, allocations: 87.41 kB / 0.57 GB, free: 4.055 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001577/0.1897, allocations: 0.8516 MB / 0.5708 GB, free: 3.184 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.1897, allocations: 8 kB / 0.5708 GB, free: 3.176 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.1897, allocations: 0 / 0.5708 GB, free: 3.176 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.1897, allocations: 3.984 kB / 0.5708 GB, free: 3.172 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003267/0.193, allocations: 1.764 MB / 0.5725 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.193, allocations: 4 kB / 0.5725 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007744/0.1938, allocations: 151.9 kB / 0.5727 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.978e-06/0.1938, allocations: 4 kB / 0.5727 GB, free: 1.176 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.19e-05/0.1939, allocations: 19.98 kB / 0.5727 GB, free: 1.156 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.734e-06/0.1939, allocations: 4 kB / 0.5727 GB, free: 1.152 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.1939, allocations: 4 kB / 0.5727 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001994/0.1959, allocations: 1.313 MB / 0.574 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004496/0.1963, allocations: 216.5 kB / 0.5742 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.1964, allocations: 12 kB / 0.5742 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003526/0.1968, allocations: 31.97 kB / 0.5742 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.1969, allocations: 52.44 kB / 0.5743 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.167e-05/0.197, allocations: 35.97 kB / 0.5743 GB, free: 15.44 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006437/0.1976, allocations: 435 kB / 0.5747 GB, free: 15.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1976, allocations: 0 / 0.5747 GB, free: 15.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001067/0.1987, allocations: 232 kB / 0.5749 GB, free: 14.79 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (trafo.i1[1],trafo.i1[2],trafo.i1[3]) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002361/0.2011, allocations: 1.868 MB / 0.5768 GB, free: 12.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002276/0.2033, allocations: 1.201 MB / 0.5779 GB, free: 11.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.2033, allocations: 1.75 kB / 0.5779 GB, free: 11.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006191/0.204, allocations: 414.3 kB / 0.5783 GB, free: 11.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008554/0.2048, allocations: 157 kB / 0.5785 GB, free: 11.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01264/0.2175, allocations: 8.086 MB / 0.5864 GB, free: 2.434 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009063/0.2184, allocations: 1.114 MB / 0.5875 GB, free: 1.289 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007392/0.2191, allocations: 294.4 kB / 0.5878 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004615/0.2196, allocations: 327.3 kB / 0.5881 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of SimCode: time 1.102e-06/0.2196, allocations: 0 / 0.5881 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05247/0.272, allocations: 16.29 MB / 0.604 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.55, allocations: 19.64 kB / 0.604 GB, free: 0.543 MB / 462.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Transformer_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Transformer.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Transformer.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.998261274769902]