Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.001717/0.001717, allocations: 124.8 kB / 17.79 MB, free: 5.266 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.001917/0.001917, allocations: 186.9 kB / 20.73 MB, free: 2.332 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.464/1.464, allocations: 225.6 MB / 249.1 MB, free: 3.633 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.1794/0.1794, allocations: 38.5 MB / 342.5 MB, free: 8.051 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.Transformation.TapChanger,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transformation_TapChanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.TapChanger,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transformation_TapChanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 61.88 kB / 478.6 MB, free: 33.63 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1123, allocations: 61.25 MB / 0.5272 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.01118/0.1235, allocations: 9.163 MB / 0.5362 GB, free: 8.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006659/0.1302, allocations: 3.384 MB / 0.5395 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00084/0.131, allocations: 35.81 kB / 0.5395 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002962/0.134, allocations: 1.066 MB / 0.5405 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003203/0.1372, allocations: 1.109 MB / 0.5416 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002057/0.1392, allocations: 0.6938 MB / 0.5423 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003351/0.1426, allocations: 2.367 MB / 0.5446 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001158/0.1438, allocations: 0.6434 MB / 0.5452 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001745/0.1455, allocations: 1 MB / 0.5462 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002206/0.1477, allocations: 1.456 MB / 0.5476 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002354/0.1479, allocations: 128 kB / 0.5478 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001223/0.1492, allocations: 0.6045 MB / 0.5484 GB, free: 11.65 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001012/0.1502, allocations: 0.9506 MB / 0.5493 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001083/0.1513, allocations: 0.9057 MB / 0.5502 GB, free: 9.785 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003204/0.1545, allocations: 2.343 MB / 0.5525 GB, free: 7.434 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.82e-06/0.1545, allocations: 0 / 0.5525 GB, free: 7.434 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1545, allocations: 0 / 0.5525 GB, free: 7.434 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.55e-05/0.1545, allocations: 0 / 0.5525 GB, free: 7.434 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.003778/0.1583, allocations: 2.063 MB / 0.5545 GB, free: 5.297 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.1583, allocations: 11.89 kB / 0.5545 GB, free: 5.285 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002892/0.1586, allocations: 236.8 kB / 0.5547 GB, free: 5.043 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001785/0.1604, allocations: 367.4 kB / 0.5551 GB, free: 4.684 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002184/0.1626, allocations: 1.087 MB / 0.5561 GB, free: 3.555 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.537e-05/0.1627, allocations: 107.1 kB / 0.5562 GB, free: 3.449 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003627/0.163, allocations: 163.8 kB / 0.5564 GB, free: 3.289 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00352/0.1665, allocations: 2.324 MB / 0.5586 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.769e-05/0.1666, allocations: 7.938 kB / 0.5587 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001481/0.1667, allocations: 59.97 kB / 0.5587 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005576/0.1673, allocations: 230.8 kB / 0.5589 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003018/0.1703, allocations: 1.846 MB / 0.5607 GB, free: 14.66 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.01232/0.1826, allocations: 9.545 MB / 0.5701 GB, free: 4.609 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002342/0.185, allocations: 1.454 MB / 0.5715 GB, free: 3.098 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008537/0.1858, allocations: 0.5473 MB / 0.572 GB, free: 2.547 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.625e-05/0.1859, allocations: 17 kB / 0.572 GB, free: 2.531 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001294/0.1872, allocations: 0.8645 MB / 0.5729 GB, free: 1.617 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 3.056e-06/0.1872, allocations: 0 / 0.5729 GB, free: 1.617 MB / 430.1 MB Notification: Performance of matching and sorting (n=131): time 0.006397/0.1936, allocations: 4.06 MB / 0.5768 GB, free: 13.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001754/0.1938, allocations: 286.3 kB / 0.5771 GB, free: 13.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.195, allocations: 0.9189 MB / 0.578 GB, free: 12.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.564e-05/0.195, allocations: 49.7 kB / 0.578 GB, free: 12.13 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006779/0.1957, allocations: 0.7926 MB / 0.5788 GB, free: 11.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004355/0.1961, allocations: 472.1 kB / 0.5793 GB, free: 10.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00044/0.1966, allocations: 327.4 kB / 0.5796 GB, free: 10.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.1968, allocations: 353.9 kB / 0.5799 GB, free: 10.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009505/0.1977, allocations: 0.5816 MB / 0.5805 GB, free: 9.602 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001437/0.1992, allocations: 1.182 MB / 0.5816 GB, free: 8.156 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002578/0.2017, allocations: 1.997 MB / 0.5836 GB, free: 5.871 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.371e-05/0.2018, allocations: 12 kB / 0.5836 GB, free: 5.859 MB / 446.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004653/0.2064, allocations: 2.482 MB / 0.586 GB, free: 3.344 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.054e-05/0.2065, allocations: 71.34 kB / 0.5861 GB, free: 3.262 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002912/0.2094, allocations: 1.548 MB / 0.5876 GB, free: 1.699 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001642/0.211, allocations: 0.5412 MB / 0.5881 GB, free: 1.148 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.2122, allocations: 327.5 kB / 0.5885 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01151/0.2237, allocations: 9.469 MB / 0.5977 GB, free: 6.805 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.2248, allocations: 75.92 kB / 0.5978 GB, free: 6.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001667/0.2249, allocations: 104 kB / 0.5979 GB, free: 6.629 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (175): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (2,11,100.0%), (2,12,100.0%), (2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009601/0.2259, allocations: 0.592 MB / 0.5984 GB, free: 6.016 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/0.2261, allocations: 127.2 kB / 0.5986 GB, free: 5.891 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002446/0.2285, allocations: 1.539 MB / 0.6001 GB, free: 4.328 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.2286, allocations: 16 kB / 0.6001 GB, free: 4.312 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.2286, allocations: 3.938 kB / 0.6001 GB, free: 4.309 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/0.2286, allocations: 11.97 kB / 0.6001 GB, free: 4.297 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005046/0.2336, allocations: 3.076 MB / 0.6031 GB, free: 1.133 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.2336, allocations: 4 kB / 0.6031 GB, free: 1.129 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/0.235, allocations: 299.8 kB / 0.6034 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/0.235, allocations: 4 kB / 0.6034 GB, free: 0.832 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.05e-05/0.2351, allocations: 35.98 kB / 0.6034 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.446e-06/0.2351, allocations: 4 kB / 0.6034 GB, free: 0.793 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.2351, allocations: 4 kB / 0.6034 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2315/0.4667, allocations: 2.328 MB / 0.6057 GB, free: 70.9 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007288/0.4674, allocations: 300 kB / 0.606 GB, free: 70.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001648/0.4676, allocations: 34.66 kB / 0.606 GB, free: 70.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005665/0.4681, allocations: 40.75 kB / 0.6061 GB, free: 70.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001978/0.4683, allocations: 83.91 kB / 0.6062 GB, free: 70.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000153/0.4685, allocations: 78.5 kB / 0.6062 GB, free: 70.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009484/0.4694, allocations: 0.6009 MB / 0.6068 GB, free: 70.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4694, allocations: 0 / 0.6068 GB, free: 70.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001649/0.4711, allocations: 423.8 kB / 0.6072 GB, free: 70.7 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (trafo1.i1[1],trafo1.i1[2],trafo1.i1[3],trafo2.i1[1],trafo2.i1[2],trafo2.i1[3]) * 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 (121): * Single equations (assignments): 118 * 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.003623/0.4747, allocations: 2.915 MB / 0.6101 GB, free: 69.65 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003195/0.4779, allocations: 2.259 MB / 0.6123 GB, free: 68.57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.4779, allocations: 7.344 kB / 0.6123 GB, free: 68.57 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000968/0.4789, allocations: 0.7815 MB / 0.613 GB, free: 68.24 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.4801, allocations: 224.9 kB / 0.6133 GB, free: 68.17 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01971/0.4998, allocations: 13.09 MB / 0.626 GB, free: 61.49 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009748/0.5008, allocations: 1.454 MB / 0.6275 GB, free: 60.67 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001013/0.5018, allocations: 477 kB / 0.6279 GB, free: 60.61 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005714/0.5024, allocations: 0.5689 MB / 0.6285 GB, free: 60.16 MB / 462.1 MB Notification: Performance of SimCode: time 8.61e-07/0.5024, allocations: 3.938 kB / 0.6285 GB, free: 60.16 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05998/0.5624, allocations: 27.57 MB / 0.6554 GB, free: 34.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.75, allocations: 9.656 kB / 0.6554 GB, free: 34.7 MB / 462.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Transformation_TapChanger_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Transformation_TapChanger.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.636613186914474] Failed to read output from testmodel.py, exit status != 0: 12.849213254172355 12.864363651 12.706914167 Calling exit ...