Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.001913/0.001913, allocations: 91.61 kB / 20.96 MB, free: 3.457 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.002079/0.002079, allocations: 165.3 kB / 24.28 MB, free: 144 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.635/1.635, allocations: 177.1 MB / 204.6 MB, free: 5.578 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.3363/0.3363, allocations: 29.41 MB / 290.5 MB, free: 2.438 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.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=741,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=741,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.662e-05/2.796e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.007166/0.007194, allocations: 4.425 MB / 373.3 MB, free: 6.844 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.00917, allocations: 0.9233 MB / 374.2 MB, free: 5.918 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002468/0.009417, allocations: 19.81 kB / 374.2 MB, free: 5.898 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000269/0.009686, allocations: 59.48 kB / 374.3 MB, free: 5.84 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008398/0.01053, allocations: 254.5 kB / 374.6 MB, free: 5.59 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003407/0.01087, allocations: 99.75 kB / 374.7 MB, free: 5.492 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007749/0.01164, allocations: 0.506 MB / 375.2 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002347/0.01188, allocations: 92.3 kB / 375.2 MB, free: 4.895 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000656/0.01253, allocations: 307 kB / 375.5 MB, free: 4.594 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005488/0.01308, allocations: 255.3 kB / 375.8 MB, free: 4.344 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.284e-05/0.01315, allocations: 28 kB / 375.8 MB, free: 4.316 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.31e-05/0.01325, allocations: 24 kB / 375.8 MB, free: 4.293 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002265/0.01347, allocations: 163.6 kB / 376 MB, free: 4.133 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002247/0.0137, allocations: 123.7 kB / 376.1 MB, free: 4.012 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005635/0.01426, allocations: 358.8 kB / 376.5 MB, free: 3.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.01427, allocations: 7.922 kB / 376.5 MB, free: 3.652 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.01427, allocations: 4 kB / 376.5 MB, free: 3.648 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.01428, allocations: 0 / 376.5 MB, free: 3.648 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001519/0.0158, allocations: 0.7107 MB / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.01584, allocations: 11.98 kB / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.01598, allocations: 56.7 kB / 377.3 MB, free: 2.836 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006843/0.01667, allocations: 326.3 kB / 377.6 MB, free: 2.496 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.366e-05/0.0167, allocations: 20.88 kB / 377.6 MB, free: 2.473 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.644e-05/0.01676, allocations: 28.33 kB / 377.6 MB, free: 2.445 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000606/0.01736, allocations: 299.7 kB / 377.9 MB, free: 2.113 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.01738, allocations: 0 / 377.9 MB, free: 2.113 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.182e-05/0.01741, allocations: 12 kB / 377.9 MB, free: 2.102 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001282/0.01754, allocations: 28.47 kB / 378 MB, free: 2.074 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003363/0.01787, allocations: 133.8 kB / 378.1 MB, free: 1.941 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002154/0.02003, allocations: 1.55 MB / 379.6 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004916/0.02052, allocations: 145.1 kB / 379.8 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.0207, allocations: 63.41 kB / 379.9 MB, free: 84 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.02072, allocations: 4 kB / 379.9 MB, free: 80 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/0.02076, allocations: 41.39 kB / 379.9 MB, free: 28 kB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.402e-06/0.02076, allocations: 0 / 379.9 MB, free: 28 kB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.001377/0.02214, allocations: 0.5126 MB / 380.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.261e-05/0.02221, allocations: 85.05 kB / 380.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004526/0.02267, allocations: 378.2 kB / 380.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/0.0227, allocations: 29.7 kB / 380.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/0.02295, allocations: 274.8 kB / 381.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.887e-05/0.02302, allocations: 67.66 kB / 381.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.02312, allocations: 59.36 kB / 381.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003147/0.02344, allocations: 0.5235 MB / 381.8 MB, free: 14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.484e-05/0.02353, allocations: 35.97 kB / 381.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.02375, allocations: 183.2 kB / 382 MB, free: 13.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/0.0241, allocations: 246.3 kB / 382.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.02411, allocations: 3.984 kB / 382.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005057/0.02461, allocations: 252.8 kB / 382.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.02464, allocations: 11.94 kB / 382.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.02464, allocations: 4 kB / 382.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002016/0.02485, allocations: 27.67 kB / 382.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.02503, allocations: 51.91 kB / 382.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00195/0.02698, allocations: 1.795 MB / 384.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.02714, allocations: 15.98 kB / 384.4 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.02716, allocations: 8 kB / 384.4 MB, free: 11.12 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002033/0.02736, allocations: 188.4 kB / 384.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.98e-05/0.02743, allocations: 39.94 kB / 384.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003913/0.02782, allocations: 175.1 kB / 384.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.02783, allocations: 4 kB / 384.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.02783, allocations: 0 / 384.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.02783, allocations: 0 / 384.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009624/0.0288, allocations: 0.58 MB / 385.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.0288, allocations: 0 / 385.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.02891, allocations: 23.92 kB / 385.4 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002064/0.02912, allocations: 51.61 kB / 385.5 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.02913, allocations: 3.984 kB / 385.5 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001623/0.03076, allocations: 1.795 MB / 387.3 MB, free: 8.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.03076, allocations: 0 / 387.3 MB, free: 8.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005793/0.03134, allocations: 390.7 kB / 387.7 MB, free: 7.656 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.798e-05/0.03141, allocations: 31.75 kB / 387.7 MB, free: 7.625 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.925e-05/0.03145, allocations: 11.81 kB / 387.7 MB, free: 7.617 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.03157, allocations: 4 kB / 387.7 MB, free: 7.613 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.743e-05/0.03162, allocations: 19.91 kB / 387.7 MB, free: 7.594 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.03164, allocations: 8 kB / 387.7 MB, free: 7.586 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002466/0.03189, allocations: 239 kB / 388 MB, free: 7.355 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03189, allocations: 0 / 388 MB, free: 7.355 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003887/0.03227, allocations: 64 kB / 388 MB, free: 7.293 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001422/0.03242, allocations: 115.2 kB / 388.1 MB, free: 7.172 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006177/0.03303, allocations: 315.9 kB / 388.4 MB, free: 6.844 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.03304, allocations: 0 / 388.4 MB, free: 6.844 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004207/0.03346, allocations: 261.4 kB / 388.7 MB, free: 6.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004961/0.03395, allocations: 71.39 kB / 388.8 MB, free: 6.508 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.03517, allocations: 0.6268 MB / 389.4 MB, free: 5.844 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.03542, allocations: 199.5 kB / 389.6 MB, free: 5.625 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001352/0.03555, allocations: 38.95 kB / 389.6 MB, free: 5.586 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.97e-05/0.03561, allocations: 24.5 kB / 389.7 MB, free: 5.562 MB / 362.7 MB Notification: Performance of SimCode: time 1.292e-06/0.03561, allocations: 4 kB / 389.7 MB, free: 5.559 MB / 362.7 MB Notification: Performance of Templates: time 0.008703/0.04432, allocations: 3.056 MB / 392.7 MB, free: 2.562 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.900090539944358]