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.002362/0.002362, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002093/0.002093, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 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 1.58/1.58, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 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.2964/0.2964, allocations: 29.41 MB / 290.5 MB, free: 2.426 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 6.723e-06/6.723e-06, allocations: 4 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.341e-05/6.013e-05, allocations: 5.547 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.RXline): time 0.01043/0.01049, allocations: 6.555 MB / 375.4 MB, free: 4.707 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004851/0.01534, allocations: 2.103 MB / 377.6 MB, free: 2.598 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004332/0.01577, allocations: 31.75 kB / 377.6 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001909/0.01768, allocations: 0.6455 MB / 378.2 MB, free: 1.918 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001446/0.01913, allocations: 0.5712 MB / 378.8 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.02017, allocations: 391 kB / 379.2 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00155/0.02172, allocations: 1.228 MB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007363/0.02246, allocations: 481.4 kB / 380.9 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.02355, allocations: 0.7167 MB / 381.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/0.02457, allocations: 0.6117 MB / 382.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001713/0.02474, allocations: 92 kB / 382.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001041/0.02578, allocations: 0.5225 MB / 382.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007045/0.02649, allocations: 0.5066 MB / 383.3 MB, free: 12.81 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005565/0.02705, allocations: 391.1 kB / 383.7 MB, free: 12.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002047/0.02909, allocations: 1.465 MB / 385.2 MB, free: 10.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.0291, allocations: 0 / 385.2 MB, free: 10.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.0291, allocations: 0 / 385.2 MB, free: 10.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.02911, allocations: 0 / 385.2 MB, free: 10.96 MB / 362.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.002895/0.03201, allocations: 1.498 MB / 386.7 MB, free: 9.402 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.03204, allocations: 11.98 kB / 386.7 MB, free: 9.391 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.03321, allocations: 288 kB / 387 MB, free: 9.109 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.03451, allocations: 0.5765 MB / 387.5 MB, free: 8.504 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.331e-05/0.03459, allocations: 70.38 kB / 387.6 MB, free: 8.438 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002245/0.03482, allocations: 92.73 kB / 387.7 MB, free: 8.348 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/0.03677, allocations: 1.087 MB / 388.8 MB, free: 7.164 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/0.0368, allocations: 0 / 388.8 MB, free: 7.164 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.931e-05/0.0369, allocations: 39.98 kB / 388.8 MB, free: 7.125 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001637/0.03706, allocations: 65.91 kB / 388.9 MB, free: 7.062 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001567/0.03863, allocations: 0.7215 MB / 389.6 MB, free: 6.324 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007747/0.04638, allocations: 4.881 MB / 394.5 MB, free: 1.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/0.0476, allocations: 0.5792 MB / 395.1 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007554/0.04835, allocations: 425.3 kB / 395.5 MB, free: 220 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.542e-05/0.04842, allocations: 20.64 kB / 395.5 MB, free: 200 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001358/0.04978, allocations: 0.8152 MB / 396.3 MB, free: 15.33 MB / 378.7 MB Notification: Performance of pre-optimization done (n=122): time 2.885e-06/0.04978, allocations: 0 / 396.3 MB, free: 15.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=123): time 0.005491/0.05527, allocations: 2.783 MB / 399.1 MB, free: 12.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001942/0.05546, allocations: 242.5 kB / 399.3 MB, free: 12.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007507/0.05622, allocations: 0.5843 MB / 399.9 MB, free: 11.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.248e-05/0.0563, allocations: 49.7 kB / 400 MB, free: 11.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004493/0.05675, allocations: 487.8 kB / 400.5 MB, free: 11.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004354/0.05718, allocations: 405 kB / 400.8 MB, free: 10.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004287/0.05761, allocations: 268.6 kB / 401.1 MB, free: 10.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004349/0.05805, allocations: 0.6133 MB / 401.7 MB, free: 9.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006585/0.0587, allocations: 338.6 kB / 402.1 MB, free: 9.387 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/0.05979, allocations: 0.7145 MB / 402.8 MB, free: 8.531 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001693/0.06149, allocations: 1.067 MB / 403.8 MB, free: 7.309 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.06149, allocations: 7.938 kB / 403.8 MB, free: 7.301 MB / 378.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003871/0.06536, allocations: 1.566 MB / 405.4 MB, free: 5.699 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.628e-05/0.06543, allocations: 63.41 kB / 405.5 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002684/0.06811, allocations: 1.054 MB / 406.5 MB, free: 4.562 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002301/0.07042, allocations: 0.5692 MB / 407.1 MB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005185/0.07093, allocations: 139.7 kB / 407.2 MB, free: 3.852 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008939/0.07987, allocations: 4.513 MB / 411.7 MB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006676/0.08054, allocations: 51.95 kB / 411.8 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.96e-05/0.08064, allocations: 48 kB / 411.8 MB, free: 15.12 MB / 394.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.0005853/0.08123, allocations: 344.9 kB / 412.2 MB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003132/0.08154, allocations: 147.3 kB / 412.3 MB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002213/0.08375, allocations: 1.094 MB / 413.4 MB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.665e-05/0.0838, allocations: 27.97 kB / 413.4 MB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.0838, allocations: 4 kB / 413.4 MB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.592e-05/0.08382, allocations: 7.984 kB / 413.5 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004546/0.08836, allocations: 2.275 MB / 415.7 MB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.08838, allocations: 7.984 kB / 415.7 MB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/0.08951, allocations: 223.8 kB / 416 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.17e-05/0.08952, allocations: 4 kB / 416 MB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-05/0.08961, allocations: 28 kB / 416 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.131e-05/0.08962, allocations: 7.984 kB / 416 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.08962, allocations: 3.938 kB / 416 MB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003095/0.09272, allocations: 1.739 MB / 417.7 MB, free: 9.02 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002021/0.09292, allocations: 71.52 kB / 417.8 MB, free: 8.949 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001401/0.09306, allocations: 35.94 kB / 417.8 MB, free: 8.914 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000446/0.09351, allocations: 43.95 kB / 417.9 MB, free: 8.871 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002824/0.09379, allocations: 108.8 kB / 418 MB, free: 8.766 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-05/0.09387, allocations: 35.98 kB / 418 MB, free: 8.73 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007475/0.09462, allocations: 354.8 kB / 418.4 MB, free: 8.383 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.09462, allocations: 0 / 418.4 MB, free: 8.383 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001143/0.09576, allocations: 307.9 kB / 418.7 MB, free: 8.082 MB / 394.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.0003491/0.09611, allocations: 178.9 kB / 418.8 MB, free: 7.898 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003351/0.09946, allocations: 1.615 MB / 420.5 MB, free: 6.211 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.09947, allocations: 0 / 420.5 MB, free: 6.211 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.1005, allocations: 0.6654 MB / 421.1 MB, free: 5.504 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008048/0.1014, allocations: 148.5 kB / 421.3 MB, free: 5.367 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003759/0.1051, allocations: 1.932 MB / 423.2 MB, free: 3.371 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006282/0.1057, allocations: 481.8 kB / 423.7 MB, free: 2.867 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005386/0.1063, allocations: 182.7 kB / 423.9 MB, free: 2.684 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/0.1065, allocations: 76.48 kB / 423.9 MB, free: 2.609 MB / 394.7 MB Notification: Performance of SimCode: time 1.402e-06/0.1065, allocations: 0 / 423.9 MB, free: 2.609 MB / 394.7 MB Notification: Performance of Templates: time 0.02903/0.1356, allocations: 14.12 MB / 438 MB, free: 4.625 MB / 410.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: 5.411112049012445]