Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.00158/0.00158, allocations: 119.9 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.00187/0.00187, allocations: 185.2 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.519/1.519, allocations: 225.6 MB / 249.1 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1884/0.1884, allocations: 38.51 MB / 342.5 MB, free: 8.082 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/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_PowerSystems_Examples_AC3ph_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Transformer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 71.27 kB / 478.6 MB, free: 33.58 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1052, allocations: 61.25 MB / 0.5272 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.008338/0.1136, allocations: 6.586 MB / 0.5336 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004589/0.1182, allocations: 2.449 MB / 0.536 GB, free: 8.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004604/0.1186, allocations: 23.88 kB / 0.5361 GB, free: 8.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001713/0.1203, allocations: 0.6257 MB / 0.5367 GB, free: 7.641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001587/0.1219, allocations: 0.6886 MB / 0.5373 GB, free: 6.949 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.1231, allocations: 451 kB / 0.5378 GB, free: 6.508 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001619/0.1247, allocations: 1.365 MB / 0.5391 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005793/0.1253, allocations: 376 kB / 0.5395 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000818/0.1261, allocations: 0.576 MB / 0.54 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00122/0.1273, allocations: 0.8489 MB / 0.5409 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001398/0.1274, allocations: 76 kB / 0.5409 GB, free: 3.266 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005662/0.128, allocations: 295.5 kB / 0.5412 GB, free: 2.977 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005355/0.1285, allocations: 0.5337 MB / 0.5417 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005667/0.1291, allocations: 0.5247 MB / 0.5422 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001611/0.1307, allocations: 1.335 MB / 0.5435 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1307, allocations: 0 / 0.5435 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1307, allocations: 0 / 0.5435 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.398e-05/0.1307, allocations: 0 / 0.5435 GB, free: 0.5742 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.00247/0.1332, allocations: 1.356 MB / 0.5449 GB, free: 15.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.1333, allocations: 15.88 kB / 0.5449 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001957/0.1335, allocations: 148.3 kB / 0.545 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.1345, allocations: 204.1 kB / 0.5452 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.1358, allocations: 0.7179 MB / 0.5459 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.644e-05/0.1359, allocations: 66.3 kB / 0.546 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002215/0.1361, allocations: 95.92 kB / 0.5461 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002076/0.1382, allocations: 1.392 MB / 0.5474 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.577e-05/0.1382, allocations: 7.953 kB / 0.5474 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.083e-05/0.1383, allocations: 35.98 kB / 0.5475 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002841/0.1386, allocations: 121.9 kB / 0.5476 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001819/0.1404, allocations: 1.093 MB / 0.5487 GB, free: 11.12 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.00778/0.1482, allocations: 5.951 MB / 0.5545 GB, free: 4.859 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.1493, allocations: 0.6583 MB / 0.5551 GB, free: 4.168 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004597/0.1498, allocations: 283.3 kB / 0.5554 GB, free: 3.883 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.215e-05/0.1498, allocations: 24.53 kB / 0.5554 GB, free: 3.859 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006844/0.1505, allocations: 472.7 kB / 0.5559 GB, free: 3.367 MB / 414.1 MB Notification: Performance of pre-optimization done (n=65): time 2.224e-06/0.1505, allocations: 0 / 0.5559 GB, free: 3.367 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.00361/0.1541, allocations: 2.178 MB / 0.558 GB, free: 1.117 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.1543, allocations: 166.8 kB / 0.5581 GB, free: 0.918 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007683/0.155, allocations: 0.6407 MB / 0.5588 GB, free: 276 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.391e-05/0.1551, allocations: 45.58 kB / 0.5588 GB, free: 224 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005066/0.1556, allocations: 0.5463 MB / 0.5594 GB, free: 15.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/0.1558, allocations: 234.1 kB / 0.5596 GB, free: 15.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00028/0.1561, allocations: 206.8 kB / 0.5598 GB, free: 15.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002101/0.1563, allocations: 386.7 kB / 0.5601 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000557/0.1568, allocations: 350.4 kB / 0.5605 GB, free: 14.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009548/0.1578, allocations: 0.762 MB / 0.5612 GB, free: 13.53 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001687/0.1595, allocations: 1.24 MB / 0.5624 GB, free: 12.08 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/0.1595, allocations: 8 kB / 0.5624 GB, free: 12.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002729/0.1622, allocations: 1.43 MB / 0.5638 GB, free: 10.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.756e-05/0.1623, allocations: 42.58 kB / 0.5639 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001486/0.1638, allocations: 0.7854 MB / 0.5646 GB, free: 9.777 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007357/0.1645, allocations: 249.5 kB / 0.5649 GB, free: 9.527 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007226/0.1652, allocations: 211.6 kB / 0.5651 GB, free: 9.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005354/0.1706, allocations: 4.382 MB / 0.5694 GB, free: 4.656 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000904/0.1715, allocations: 55.98 kB / 0.5694 GB, free: 4.602 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001602/0.1716, allocations: 63.98 kB / 0.5695 GB, free: 4.539 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.000762/0.1724, allocations: 402.9 kB / 0.5699 GB, free: 4.129 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.1726, allocations: 83.42 kB / 0.5699 GB, free: 4.047 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/0.1741, allocations: 0.8555 MB / 0.5708 GB, free: 3.172 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.1741, allocations: 8.047 kB / 0.5708 GB, free: 3.164 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1741, allocations: 3.984 kB / 0.5708 GB, free: 3.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.1741, allocations: 3.984 kB / 0.5708 GB, free: 3.156 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003098/0.1772, allocations: 1.764 MB / 0.5725 GB, free: 1.316 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.1772, allocations: 4 kB / 0.5725 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006897/0.1779, allocations: 151.7 kB / 0.5727 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.196e-06/0.1779, allocations: 4 kB / 0.5727 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.204e-05/0.178, allocations: 23.98 kB / 0.5727 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/0.178, allocations: 4 kB / 0.5727 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.178, allocations: 4 kB / 0.5727 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001951/0.1799, allocations: 1.313 MB / 0.574 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003855/0.1803, allocations: 204.6 kB / 0.5742 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.196e-05/0.1804, allocations: 16 kB / 0.5742 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003559/0.1808, allocations: 35.97 kB / 0.5742 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.1809, allocations: 48.39 kB / 0.5743 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-05/0.181, allocations: 39.95 kB / 0.5743 GB, free: 15.42 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005513/0.1815, allocations: 427 kB / 0.5747 GB, free: 15.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1815, allocations: 0 / 0.5747 GB, free: 15.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000909/0.1824, allocations: 232 kB / 0.5749 GB, free: 14.78 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.002339/0.1848, allocations: 1.879 MB / 0.5768 GB, free: 12.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002231/0.187, allocations: 1.198 MB / 0.5779 GB, free: 11.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.187, allocations: 0 / 0.5779 GB, free: 11.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006151/0.1876, allocations: 418.8 kB / 0.5783 GB, free: 11.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009136/0.1885, allocations: 136.3 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.01259/0.2011, allocations: 8.098 MB / 0.5864 GB, free: 2.422 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009122/0.202, allocations: 1.114 MB / 0.5875 GB, free: 1.277 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007455/0.2028, allocations: 282.4 kB / 0.5877 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000458/0.2032, allocations: 331.3 kB / 0.5881 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of SimCode: time 7.42e-07/0.2032, allocations: 0 / 0.5881 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05146/0.2547, allocations: 16.28 MB / 0.604 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.42, allocations: 11.98 kB / 0.604 GB, free: 0.5391 MB / 462.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.637764494866133] Failed to read output from testmodel.py, exit status != 0: 11.798203396610916 11.810934492 11.67732593 Calling exit ...