Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.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.001728/0.001728, allocations: 118.5 kB / 17.73 MB, free: 5.414 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.002051/0.002051, allocations: 186.9 kB / 20.67 MB, free: 2.48 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.422/1.422, allocations: 222.9 MB / 246.4 MB, free: 4.215 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.282/0.282, allocations: 38 MB / 336.6 MB, free: 12.93 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.AC1ph_DC.Transformation.TapChanger,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001847, allocations: 64.64 kB / 466.3 MB, free: 27.86 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1088, allocations: 58.06 MB / 0.5121 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.01259/0.1215, allocations: 7.316 MB / 0.5193 GB, free: 2.922 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003753/0.1253, allocations: 1.714 MB / 0.5209 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005272/0.1258, allocations: 27.81 kB / 0.521 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007622/0.1266, allocations: 238.4 kB / 0.5212 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001524/0.1282, allocations: 0.5676 MB / 0.5217 GB, free: 380 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006256/0.1289, allocations: 211.7 kB / 0.5219 GB, free: 168 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001463/0.1303, allocations: 1.265 MB / 0.5232 GB, free: 14.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004901/0.1308, allocations: 350.5 kB / 0.5235 GB, free: 14.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007443/0.1316, allocations: 0.5524 MB / 0.5241 GB, free: 13.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.1326, allocations: 0.6462 MB / 0.5247 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001244/0.1328, allocations: 60 kB / 0.5247 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.1329, allocations: 64 kB / 0.5248 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003865/0.1333, allocations: 335.1 kB / 0.5251 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004996/0.1338, allocations: 429.8 kB / 0.5255 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.135, allocations: 0.9219 MB / 0.5264 GB, free: 11.55 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.135, allocations: 4 kB / 0.5264 GB, free: 11.54 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.135, allocations: 0 / 0.5264 GB, free: 11.54 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.135, allocations: 0 / 0.5264 GB, free: 11.54 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002055/0.1371, allocations: 1.251 MB / 0.5277 GB, free: 10.22 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.1371, allocations: 11.89 kB / 0.5277 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001446/0.1373, allocations: 110.7 kB / 0.5278 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001445/0.1374, allocations: 108.3 kB / 0.5279 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.1386, allocations: 0.7192 MB / 0.5286 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.078e-05/0.1387, allocations: 45.31 kB / 0.5286 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.593e-05/0.1388, allocations: 60 kB / 0.5287 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/0.1401, allocations: 0.8137 MB / 0.5295 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.1401, allocations: 4 kB / 0.5295 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.961e-05/0.1402, allocations: 28 kB / 0.5295 GB, free: 8.242 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.905e-05/0.1402, allocations: 29.3 kB / 0.5295 GB, free: 8.211 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.1413, allocations: 0.6218 MB / 0.5301 GB, free: 7.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003494/0.1448, allocations: 2.622 MB / 0.5327 GB, free: 4.848 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009563/0.1457, allocations: 0.6165 MB / 0.5333 GB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006329/0.1464, allocations: 371.1 kB / 0.5337 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.1464, allocations: 4.438 kB / 0.5337 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006654/0.1471, allocations: 495 kB / 0.5341 GB, free: 3.316 MB / 398.1 MB Notification: Performance of pre-optimization done (n=63): time 2.144e-06/0.1471, allocations: 0 / 0.5341 GB, free: 3.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=64): time 0.003102/0.1502, allocations: 1.987 MB / 0.5361 GB, free: 1.242 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001606/0.1504, allocations: 259.9 kB / 0.5363 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007709/0.1512, allocations: 0.5703 MB / 0.5369 GB, free: 364 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.209e-05/0.1512, allocations: 41.69 kB / 0.5369 GB, free: 316 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000536/0.1518, allocations: 404.6 kB / 0.5373 GB, free: 15.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/0.152, allocations: 214.2 kB / 0.5375 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002169/0.1522, allocations: 146.6 kB / 0.5376 GB, free: 15.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002357/0.1524, allocations: 382.8 kB / 0.538 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003642/0.1528, allocations: 229.9 kB / 0.5382 GB, free: 14.94 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00054/0.1533, allocations: 457.8 kB / 0.5387 GB, free: 14.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.1544, allocations: 0.7935 MB / 0.5394 GB, free: 13.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.1544, allocations: 4 kB / 0.5394 GB, free: 13.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001578/0.156, allocations: 0.9524 MB / 0.5404 GB, free: 12.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.868e-05/0.1561, allocations: 67.34 kB / 0.5404 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.1561, allocations: 8 kB / 0.5404 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004012/0.1565, allocations: 109.6 kB / 0.5406 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004752/0.157, allocations: 143.8 kB / 0.5407 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003607/0.1606, allocations: 3.563 MB / 0.5442 GB, free: 8.312 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004387/0.1611, allocations: 47.91 kB / 0.5442 GB, free: 8.266 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.492e-05/0.1611, allocations: 51.91 kB / 0.5443 GB, free: 8.215 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 21 (system.initime,tapRelay1.cnt_2,$PRE.tapRelay1.cnt_2,tapRelay1.cnt_1,$PRE.tapRelay1.cnt_1,$whenCondition4,$whenCondition3,tapRelay2.cnt_2,$PRE.tapRelay2.cnt_2,tapRelay2.cnt_1,$PRE.tapRelay2.cnt_1,$whenCondition2,$whenCondition1,tapRelay1.tap_2,$PRE.tapRelay1.tap_2,tapRelay1.tap_1,$PRE.tapRelay1.tap_1,tapRelay2.tap_2,$PRE.tapRelay2.tap_2,tapRelay2.tap_1,$PRE.tapRelay2.tap_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 2 * 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 {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004267/0.1616, allocations: 354.7 kB / 0.5446 GB, free: 7.848 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.726e-05/0.1617, allocations: 79.47 kB / 0.5447 GB, free: 7.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/0.1631, allocations: 0.7858 MB / 0.5454 GB, free: 6.969 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.1631, allocations: 4 kB / 0.5454 GB, free: 6.965 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1631, allocations: 0 / 0.5454 GB, free: 6.965 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.1631, allocations: 15.86 kB / 0.5455 GB, free: 6.949 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00228/0.1654, allocations: 1.553 MB / 0.547 GB, free: 5.316 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1654, allocations: 0 / 0.547 GB, free: 5.316 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004829/0.1659, allocations: 107.8 kB / 0.5471 GB, free: 5.211 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.1659, allocations: 4 kB / 0.5471 GB, free: 5.207 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-05/0.166, allocations: 23.92 kB / 0.5471 GB, free: 5.184 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/0.166, allocations: 7.938 kB / 0.5471 GB, free: 5.176 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.166, allocations: 4 kB / 0.5471 GB, free: 5.172 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001853/0.1679, allocations: 1.199 MB / 0.5483 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002272/0.1681, allocations: 188.5 kB / 0.5485 GB, free: 3.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.517e-05/0.1682, allocations: 16 kB / 0.5485 GB, free: 3.715 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003325/0.1685, allocations: 36.03 kB / 0.5485 GB, free: 3.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.387e-05/0.1686, allocations: 36.33 kB / 0.5486 GB, free: 3.641 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.256e-05/0.1687, allocations: 67.91 kB / 0.5486 GB, free: 3.574 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004464/0.1692, allocations: 391 kB / 0.549 GB, free: 3.195 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1692, allocations: 0 / 0.549 GB, free: 3.195 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006944/0.1699, allocations: 176 kB / 0.5492 GB, free: 3.023 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (trafo1.i1,trafo2.i1) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tapRelay2.tap_1,tapRelay2.tap_2,tapRelay2.cnt_1,tapRelay2.cnt_2,tapRelay1.tap_1,tapRelay1.tap_2,tapRelay1.cnt_1,tapRelay1.cnt_2,system.initime) * Number of discrete states: 12 (tapRelay1.tap_2,tapRelay1.cnt_2,$whenCondition4,tapRelay1.tap_1,tapRelay1.cnt_1,$whenCondition3,tapRelay2.tap_2,tapRelay2.cnt_2,$whenCondition2,tapRelay2.tap_1,tapRelay2.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 2 * 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.002266/0.1722, allocations: 1.762 MB / 0.5509 GB, free: 1.215 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001601/0.1738, allocations: 1.004 MB / 0.5519 GB, free: 160 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.1738, allocations: 4.25 kB / 0.5519 GB, free: 156 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006532/0.1745, allocations: 0.4934 MB / 0.5524 GB, free: 15.63 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008014/0.1753, allocations: 155.3 kB / 0.5525 GB, free: 15.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009344/0.1846, allocations: 6.304 MB / 0.5587 GB, free: 8.844 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009387/0.1856, allocations: 1.016 MB / 0.5596 GB, free: 7.797 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000428/0.186, allocations: 145.8 kB / 0.5598 GB, free: 7.652 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003819/0.1864, allocations: 279.3 kB / 0.5601 GB, free: 7.379 MB / 430.1 MB Notification: Performance of SimCode: time 1.212e-06/0.1864, allocations: 4 kB / 0.5601 GB, free: 7.375 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0461/0.2325, allocations: 14.09 MB / 0.5738 GB, free: 9.461 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.08, allocations: 22.86 kB / 0.5738 GB, free: 9.441 MB / 446.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger_fmu --startTime=0 --stopTime=4 --stepSize=0.001 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.056997221021447] Failed to read output from testmodel.py, exit status != 0: 12.16560531500727 12.377237481 12.239435087 Calling exit ...