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.001944/0.001944, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002672/0.002672, allocations: 165.7 kB / 24.27 MB, free: 172 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.543/1.543, allocations: 177.1 MB / 204.6 MB, free: 5.59 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.3253/0.3253, allocations: 29.41 MB / 290.5 MB, free: 2.418 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.513e-06/1.513e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.249e-05/3.4e-05, allocations: 6.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.008106/0.00814, allocations: 4.257 MB / 373.1 MB, free: 7.016 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002538/0.01068, allocations: 0.9077 MB / 374.1 MB, free: 6.105 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003677/0.01105, allocations: 15.88 kB / 374.1 MB, free: 6.09 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003105/0.01136, allocations: 63.42 kB / 374.1 MB, free: 6.027 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001005/0.01236, allocations: 246.6 kB / 374.4 MB, free: 5.785 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004104/0.01277, allocations: 103.7 kB / 374.5 MB, free: 5.684 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008507/0.01362, allocations: 0.506 MB / 375 MB, free: 5.176 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002598/0.01388, allocations: 92.3 kB / 375.1 MB, free: 5.086 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007276/0.01461, allocations: 303 kB / 375.4 MB, free: 4.789 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005679/0.01518, allocations: 251.3 kB / 375.6 MB, free: 4.543 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.606e-05/0.01525, allocations: 28 kB / 375.6 MB, free: 4.516 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.893e-05/0.01534, allocations: 24 kB / 375.7 MB, free: 4.492 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000276/0.01562, allocations: 159.6 kB / 375.8 MB, free: 4.336 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002416/0.01586, allocations: 119.7 kB / 375.9 MB, free: 4.219 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006479/0.01651, allocations: 366.8 kB / 376.3 MB, free: 3.859 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.01651, allocations: 3.938 kB / 376.3 MB, free: 3.855 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.01652, allocations: 0 / 376.3 MB, free: 3.855 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.555e-05/0.01653, allocations: 0 / 376.3 MB, free: 3.855 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.001522/0.01805, allocations: 0.5877 MB / 376.9 MB, free: 3.238 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.0181, allocations: 19.92 kB / 376.9 MB, free: 3.219 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001642/0.01827, allocations: 60.69 kB / 377 MB, free: 3.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007258/0.01899, allocations: 331.6 kB / 377.3 MB, free: 2.816 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.651e-05/0.01903, allocations: 20.88 kB / 377.3 MB, free: 2.793 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.161e-05/0.0191, allocations: 28.33 kB / 377.3 MB, free: 2.766 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006544/0.01976, allocations: 357 kB / 377.7 MB, free: 2.383 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.01977, allocations: 3.938 kB / 377.7 MB, free: 2.379 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.645e-05/0.01981, allocations: 12 kB / 377.7 MB, free: 2.367 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001214/0.01993, allocations: 24.47 kB / 377.7 MB, free: 2.344 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004706/0.0204, allocations: 237.8 kB / 378 MB, free: 2.109 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00199/0.02239, allocations: 1.227 MB / 379.2 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004132/0.0228, allocations: 157.1 kB / 379.3 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002289/0.02303, allocations: 93.73 kB / 379.4 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.02305, allocations: 8.25 kB / 379.4 MB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/0.0231, allocations: 34.5 kB / 379.5 MB, free: 0.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.0231, allocations: 0 / 379.5 MB, free: 0.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0016/0.0247, allocations: 0.6255 MB / 380.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.069e-05/0.02478, allocations: 84.98 kB / 380.2 MB, free: 15.74 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003935/0.02517, allocations: 308.5 kB / 380.5 MB, free: 15.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.0252, allocations: 25.7 kB / 380.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002213/0.02542, allocations: 232 kB / 380.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.991e-05/0.02548, allocations: 51.53 kB / 380.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.02558, allocations: 53.66 kB / 380.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002106/0.0258, allocations: 334.8 kB / 381.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.02593, allocations: 67.95 kB / 381.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002478/0.02618, allocations: 172.8 kB / 381.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003974/0.02658, allocations: 252.6 kB / 381.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.02658, allocations: 0 / 381.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000645/0.02722, allocations: 329.9 kB / 382 MB, free: 13.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.02725, allocations: 15.92 kB / 382 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.02726, allocations: 4 kB / 382 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002404/0.0275, allocations: 48.83 kB / 382 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.0277, allocations: 52.34 kB / 382.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001831/0.02953, allocations: 1.479 MB / 383.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.02969, allocations: 11.98 kB / 383.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.01e-05/0.02972, allocations: 16 kB / 383.6 MB, free: 12.09 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.0002185/0.02994, allocations: 173.8 kB / 383.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.408e-05/0.03001, allocations: 39.81 kB / 383.8 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00049/0.0305, allocations: 231.6 kB / 384 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.03051, allocations: 4 kB / 384 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.03051, allocations: 0 / 384 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.03051, allocations: 0 / 384 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009845/0.0315, allocations: 0.5503 MB / 384.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.0315, allocations: 0 / 384.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.03161, allocations: 20 kB / 384.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002497/0.03186, allocations: 76.7 kB / 384.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.03188, allocations: 0 / 384.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001679/0.03356, allocations: 1.471 MB / 386.1 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.03356, allocations: 0 / 386.1 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006665/0.03423, allocations: 417.8 kB / 386.6 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/0.03429, allocations: 23.81 kB / 386.6 MB, free: 8.902 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.199e-05/0.03434, allocations: 11.98 kB / 386.6 MB, free: 8.891 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.03448, allocations: 0 / 386.6 MB, free: 8.891 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.235e-05/0.03453, allocations: 23.91 kB / 386.6 MB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.03454, allocations: 4 kB / 386.6 MB, free: 8.863 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002747/0.03482, allocations: 211 kB / 386.8 MB, free: 8.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03482, allocations: 0 / 386.8 MB, free: 8.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004384/0.03526, allocations: 68 kB / 386.9 MB, free: 8.594 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.000163/0.03542, allocations: 111.2 kB / 387 MB, free: 8.477 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006648/0.03608, allocations: 302.3 kB / 387.3 MB, free: 8.168 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.03609, allocations: 0 / 387.3 MB, free: 8.168 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004043/0.03649, allocations: 203.5 kB / 387.5 MB, free: 7.957 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005512/0.03704, allocations: 73.95 kB / 387.6 MB, free: 7.895 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.03836, allocations: 0.6743 MB / 388.2 MB, free: 7.184 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.03861, allocations: 203.5 kB / 388.4 MB, free: 6.969 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001423/0.03875, allocations: 38.97 kB / 388.5 MB, free: 6.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.321e-05/0.03883, allocations: 28.48 kB / 388.5 MB, free: 6.902 MB / 362.7 MB Notification: Performance of SimCode: time 1.001e-06/0.03883, allocations: 4 kB / 388.5 MB, free: 6.898 MB / 362.7 MB Notification: Performance of Templates: time 0.008423/0.04725, allocations: 3.039 MB / 391.5 MB, free: 3.918 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.79905188200064]