Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009141/0.0009141, allocations: 80.41 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 167.6 kB / 25.61 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9156/0.9156, allocations: 177.1 MB / 206 MB, free: 4.488 MB / 186.7 MB " [Timeout remaining time 179] 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.1177/0.1177, allocations: 29.43 MB / 292 MB, free: 2.633 MB / 266.7 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Transmission.RXline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline") translateModel(PowerSystems.Examples.AC3ph.Transmission.RXline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.572e-06/1.572e-06, allocations: 0 / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.424e-05/2.581e-05, allocations: 3.062 kB / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.RXline): time 0.01122/0.01125, allocations: 5.687 MB / 376.6 MB, free: 26.61 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00598/0.01723, allocations: 2.095 MB / 378.7 MB, free: 24.51 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004341/0.01766, allocations: 23.81 kB / 378.7 MB, free: 24.49 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007013/0.01836, allocations: 230.5 kB / 378.9 MB, free: 24.26 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009978/0.01936, allocations: 0.5633 MB / 379.5 MB, free: 23.7 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003702/0.02306, allocations: 395 kB / 379.9 MB, free: 23.31 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000901/0.02396, allocations: 1.236 MB / 381.1 MB, free: 22.07 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004642/0.02443, allocations: 489.8 kB / 381.6 MB, free: 21.58 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007257/0.02515, allocations: 0.7521 MB / 382.3 MB, free: 20.83 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003546/0.0287, allocations: 0.5805 MB / 382.9 MB, free: 20.25 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000124/0.02882, allocations: 92 kB / 383 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006935/0.02952, allocations: 0.5264 MB / 383.5 MB, free: 19.63 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003129/0.02983, allocations: 0.4988 MB / 384 MB, free: 19.13 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002969/0.03013, allocations: 379.1 kB / 384.4 MB, free: 18.76 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009163/0.03104, allocations: 1.079 MB / 385.5 MB, free: 17.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.03105, allocations: 0 / 385.5 MB, free: 17.68 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.03105, allocations: 0 / 385.5 MB, free: 17.68 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.03106, allocations: 4 kB / 385.5 MB, free: 17.67 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.004487/0.03554, allocations: 1.369 MB / 386.8 MB, free: 16.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.03558, allocations: 8.031 kB / 386.8 MB, free: 16.24 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000737/0.03632, allocations: 264 kB / 387.1 MB, free: 15.98 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005709/0.03689, allocations: 0.516 MB / 387.6 MB, free: 15.44 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.074e-05/0.03694, allocations: 66.38 kB / 387.7 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/0.03709, allocations: 104.6 kB / 387.8 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003863/0.04095, allocations: 0.8959 MB / 388.7 MB, free: 14.28 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.04098, allocations: 7.938 kB / 388.7 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.677e-05/0.04104, allocations: 43.94 kB / 388.7 MB, free: 14.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001021/0.04114, allocations: 65.97 kB / 388.8 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006084/0.04175, allocations: 488.8 kB / 389.3 MB, free: 13.67 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003327/0.04508, allocations: 4.52 MB / 393.8 MB, free: 8.988 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005483/0.04563, allocations: 472.2 kB / 394.3 MB, free: 8.488 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002917/0.04592, allocations: 309.1 kB / 394.6 MB, free: 8.16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.044e-05/0.04596, allocations: 12.66 kB / 394.6 MB, free: 8.148 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000455/0.04642, allocations: 0.6735 MB / 395.2 MB, free: 7.426 MB / 314.7 MB Notification: Performance of pre-optimization done (n=122): time 2.404e-06/0.04642, allocations: 0 / 395.2 MB, free: 7.426 MB / 314.7 MB Notification: Performance of matching and sorting (n=123): time 0.001752/0.04817, allocations: 1.973 MB / 397.2 MB, free: 5.355 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.04822, allocations: 234.6 kB / 397.4 MB, free: 5.078 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.04843, allocations: 0.4903 MB / 397.9 MB, free: 4.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.283e-05/0.04847, allocations: 49.7 kB / 398 MB, free: 4.516 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.04861, allocations: 468 kB / 398.4 MB, free: 4.051 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.04875, allocations: 396.9 kB / 398.8 MB, free: 3.66 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001733/0.04892, allocations: 236.4 kB / 399.1 MB, free: 3.418 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.963e-05/0.049, allocations: 0.5897 MB / 399.7 MB, free: 2.816 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.04918, allocations: 222.5 kB / 399.9 MB, free: 2.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/0.04945, allocations: 0.5739 MB / 400.4 MB, free: 1.875 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004914/0.04994, allocations: 0.8522 MB / 401.3 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.04994, allocations: 0 / 401.3 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001419/0.05136, allocations: 1.259 MB / 402.6 MB, free: 15.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.166e-05/0.0514, allocations: 59.41 kB / 402.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001052/0.05245, allocations: 0.7846 MB / 403.4 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.05358, allocations: 474.8 kB / 403.9 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002584/0.05384, allocations: 139.7 kB / 404 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003847/0.05769, allocations: 3.687 MB / 407.7 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004465/0.05813, allocations: 32 kB / 407.7 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.371e-05/0.05819, allocations: 43.94 kB / 407.8 MB, free: 10.23 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 67 (system.initime,relay2.cnt,$PRE.relay2.cnt,$whenCondition2,relay1.cnt,$PRE.relay1.cnt,$whenCondition1,relay2.y[3],$PRE.relay2.y[3],relay2.y[2],$PRE.relay2.y[2],relay2.y[1],$PRE.relay2.y[1],relay1.y[3],$PRE.relay1.y[3],relay1.y[2],$PRE.relay1.y[2],relay1.y[1],$PRE.relay1.y[1],switch2.switch_c.closed,switch2.switch_c.open,$PRE.switch2.switch_c.open,switch2.switch_c.arc,$PRE.switch2.switch_c.arc,switch2.switch_b.closed,switch2.switch_b.open,$PRE.switch2.switch_b.open,switch2.switch_b.arc,$PRE.switch2.switch_b.arc,switch2.switch_a.closed,switch2.switch_a.open,$PRE.switch2.switch_a.open,switch2.switch_a.arc,$PRE.switch2.switch_a.arc,switch1.switch_c.closed,switch1.switch_c.open,$PRE.switch1.switch_c.open,switch1.switch_c.arc,$PRE.switch1.switch_c.arc,switch1.switch_b.closed,switch1.switch_b.open,$PRE.switch1.switch_b.open,switch1.switch_b.arc,$PRE.switch1.switch_b.arc,switch1.switch_a.closed,switch1.switch_a.open,$PRE.switch1.switch_a.open,switch1.switch_a.arc,$PRE.switch1.switch_a.arc,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 119 * Array equations: 2 * Algorithm blocks: 2 * 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): 1 system {(7,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003733/0.05856, allocations: 317 kB / 408.1 MB, free: 9.898 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001937/0.05876, allocations: 143.3 kB / 408.2 MB, free: 9.758 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009121/0.05967, allocations: 0.899 MB / 409.1 MB, free: 8.832 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.613e-05/0.05969, allocations: 24 kB / 409.1 MB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.0597, allocations: 0 / 409.1 MB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.0597, allocations: 3.984 kB / 409.1 MB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002328/0.06203, allocations: 1.814 MB / 410.9 MB, free: 6.918 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.06204, allocations: 7.984 kB / 411 MB, free: 6.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005782/0.06262, allocations: 203.9 kB / 411.2 MB, free: 6.711 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.06263, allocations: 11.94 kB / 411.2 MB, free: 6.699 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.263e-05/0.06267, allocations: 23.98 kB / 411.2 MB, free: 6.676 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.06267, allocations: 4 kB / 411.2 MB, free: 6.672 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.06267, allocations: 0 / 411.2 MB, free: 6.672 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/0.06392, allocations: 1.38 MB / 412.6 MB, free: 5.219 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.06403, allocations: 71.41 kB / 412.6 MB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.674e-05/0.06411, allocations: 28 kB / 412.7 MB, free: 5.121 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.06431, allocations: 27.97 kB / 412.7 MB, free: 5.094 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.06445, allocations: 100.8 kB / 412.8 MB, free: 4.996 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.07e-05/0.06449, allocations: 27.98 kB / 412.8 MB, free: 4.969 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000169/0.06466, allocations: 290.7 kB / 413.1 MB, free: 4.684 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.06466, allocations: 4 kB / 413.1 MB, free: 4.68 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008575/0.06551, allocations: 303.9 kB / 413.4 MB, free: 4.383 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 47 (switch1.switch_c.closed,switch1.switch_a.closed,switch1.switch_b.closed,switch2.switch_b.closed,switch2.switch_c.closed,switch2.switch_a.closed,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,switch1.switch_a.arc,switch1.switch_a.open,switch1.switch_b.arc,switch1.switch_b.open,switch1.switch_c.arc,switch1.switch_c.open,switch2.switch_a.arc,switch2.switch_a.open,switch2.switch_b.arc,switch2.switch_b.open,switch2.switch_c.arc,switch2.switch_c.open,relay1.y[1],relay1.y[2],relay1.y[3],relay1.cnt,relay2.y[1],relay2.y[2],relay2.y[3],relay2.cnt,system.initime) * Number of discrete states: 16 (relay2.y[3],relay2.y[2],relay2.y[1],relay2.cnt,$whenCondition2,switch2.switch_a.open,switch2.switch_c.open,switch2.switch_b.open,relay1.y[3],relay1.y[2],relay1.y[1],relay1.cnt,$whenCondition1,switch1.switch_b.open,switch1.switch_a.open,switch1.switch_c.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 88 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 7 * 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.0002172/0.06573, allocations: 171 kB / 413.6 MB, free: 4.203 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001412/0.06714, allocations: 1.33 MB / 414.9 MB, free: 2.805 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.06714, allocations: 0 / 414.9 MB, free: 2.805 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004428/0.06759, allocations: 0.5443 MB / 415.4 MB, free: 2.219 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004991/0.06809, allocations: 143.5 kB / 415.6 MB, free: 2.086 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002505/0.07059, allocations: 1.896 MB / 417.5 MB, free: 124 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004545/0.07105, allocations: 261.5 kB / 417.7 MB, free: 15.84 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002962/0.07134, allocations: 98.88 kB / 417.8 MB, free: 15.74 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003203/0.07166, allocations: 238.1 kB / 418.1 MB, free: 15.51 MB / 346.7 MB Notification: Performance of SimCode: time 1.793e-06/0.07167, allocations: 0 / 418.1 MB, free: 15.51 MB / 346.7 MB Notification: Performance of Templates: time 0.0179/0.08957, allocations: 15.34 MB / 433.4 MB, free: 344 kB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.RXline.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.342383649200201]