Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.001352/0.001352, allocations: 84.7 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001482/0.001482, allocations: 168 kB / 23.95 MB, free: 4.156 MB / 14.72 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.487/1.487, allocations: 177.1 MB / 204.2 MB, free: 9.172 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.1932/0.1932, allocations: 29.42 MB / 290.1 MB, free: 3.266 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.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.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 430.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.558e-05/2.696e-05, allocations: 5.375 kB / 430.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.006367/0.006394, allocations: 4.015 MB / 434.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002008/0.008402, allocations: 0.8649 MB / 435.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001924/0.008595, allocations: 19.81 kB / 435.6 MB, free: 13.01 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002408/0.008835, allocations: 51.5 kB / 435.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005798/0.009415, allocations: 182.9 kB / 435.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002451/0.00966, allocations: 91.75 kB / 435.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005288/0.01019, allocations: 414.3 kB / 436.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002417/0.01043, allocations: 78.56 kB / 436.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004452/0.01088, allocations: 247.2 kB / 436.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003571/0.01123, allocations: 171.5 kB / 436.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.187e-05/0.01128, allocations: 16 kB / 436.8 MB, free: 11.78 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.626e-05/0.01134, allocations: 20 kB / 436.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.01149, allocations: 99.7 kB / 436.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.01165, allocations: 95.75 kB / 437 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004602/0.01211, allocations: 275.1 kB / 437.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.01212, allocations: 4 kB / 437.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.01212, allocations: 0 / 437.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.014e-06/0.01213, allocations: 0 / 437.3 MB, free: 11.29 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001094/0.01323, allocations: 0.5332 MB / 437.8 MB, free: 10.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.01327, allocations: 11.98 kB / 437.9 MB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.364e-05/0.01336, allocations: 32.75 kB / 437.9 MB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005739/0.01393, allocations: 283.6 kB / 438.2 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.01396, allocations: 16.88 kB / 438.2 MB, free: 10.37 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.149e-05/0.01401, allocations: 20.38 kB / 438.2 MB, free: 10.35 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004617/0.01447, allocations: 299.7 kB / 438.5 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.01448, allocations: 0 / 438.5 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.586e-05/0.01451, allocations: 12 kB / 438.5 MB, free: 10.01 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.01452, allocations: 8 kB / 438.5 MB, free: 10 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000317/0.01484, allocations: 180.9 kB / 438.7 MB, free: 9.828 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001489/0.01633, allocations: 1.105 MB / 439.8 MB, free: 8.656 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000372/0.0167, allocations: 105.1 kB / 439.9 MB, free: 8.535 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.96e-05/0.01679, allocations: 49.77 kB / 440 MB, free: 8.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.0168, allocations: 0 / 440 MB, free: 8.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.54e-05/0.01685, allocations: 38.5 kB / 440 MB, free: 8.434 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.01685, allocations: 0 / 440 MB, free: 8.434 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009199/0.01777, allocations: 416.1 kB / 440.4 MB, free: 7.992 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.01783, allocations: 77.11 kB / 440.5 MB, free: 7.898 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.0181, allocations: 253.8 kB / 440.7 MB, free: 7.641 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.01812, allocations: 29.7 kB / 440.7 MB, free: 7.605 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.01828, allocations: 208.1 kB / 440.9 MB, free: 7.398 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.972e-05/0.01832, allocations: 39.69 kB / 441 MB, free: 7.359 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-05/0.0184, allocations: 46.27 kB / 441 MB, free: 7.309 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.01857, allocations: 334.8 kB / 441.4 MB, free: 6.973 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.678e-05/0.01865, allocations: 35.97 kB / 441.4 MB, free: 6.938 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.0188, allocations: 132.8 kB / 441.5 MB, free: 6.762 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.01905, allocations: 192.6 kB / 441.7 MB, free: 6.527 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.01905, allocations: 3.938 kB / 441.7 MB, free: 6.523 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003363/0.01939, allocations: 209.1 kB / 441.9 MB, free: 6.312 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.01941, allocations: 8 kB / 441.9 MB, free: 6.305 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.01941, allocations: 4 kB / 441.9 MB, free: 6.301 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.01943, allocations: 4 kB / 441.9 MB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.01961, allocations: 47.91 kB / 442 MB, free: 6.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.01962, allocations: 4.438 kB / 442 MB, free: 6.246 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.01974, allocations: 12 kB / 442 MB, free: 6.234 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.01976, allocations: 8 kB / 442 MB, free: 6.227 MB / 366.1 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001676/0.01993, allocations: 161.6 kB / 442.2 MB, free: 6.059 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.954e-05/0.01998, allocations: 19.86 kB / 442.2 MB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002602/0.02024, allocations: 131.4 kB / 442.3 MB, free: 5.906 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.02024, allocations: 4 kB / 442.3 MB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.02025, allocations: 3.984 kB / 442.3 MB, free: 5.898 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.02025, allocations: 0 / 442.3 MB, free: 5.898 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005412/0.02079, allocations: 406.9 kB / 442.7 MB, free: 5.461 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.0208, allocations: 0 / 442.7 MB, free: 5.461 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.02093, allocations: 28.02 kB / 442.7 MB, free: 5.434 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.02093, allocations: 0 / 442.7 MB, free: 5.434 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.02095, allocations: 4 kB / 442.7 MB, free: 5.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.02095, allocations: 3.984 kB / 442.8 MB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.02096, allocations: 0 / 442.8 MB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003849/0.02134, allocations: 288.9 kB / 443 MB, free: 5.121 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.02138, allocations: 23.89 kB / 443.1 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.02142, allocations: 0 / 443.1 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.02152, allocations: 0 / 443.1 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.02155, allocations: 11.98 kB / 443.1 MB, free: 5.086 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.02157, allocations: 12.06 kB / 443.1 MB, free: 5.074 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001756/0.02174, allocations: 177.1 kB / 443.3 MB, free: 4.902 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02174, allocations: 4.031 kB / 443.3 MB, free: 4.898 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003196/0.02206, allocations: 47.94 kB / 443.3 MB, free: 4.852 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.0001355/0.0222, allocations: 103.2 kB / 443.4 MB, free: 4.742 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002359/0.02243, allocations: 107 kB / 443.5 MB, free: 4.641 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.02244, allocations: 192 / 443.5 MB, free: 4.641 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.307e-05/0.02252, allocations: 47.92 kB / 443.6 MB, free: 4.594 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005257/0.02305, allocations: 47.73 kB / 443.6 MB, free: 4.551 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009053/0.02396, allocations: 0.497 MB / 444.1 MB, free: 4.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/0.02413, allocations: 166.8 kB / 444.3 MB, free: 3.836 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001178/0.02425, allocations: 38.27 kB / 444.3 MB, free: 3.797 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.736e-05/0.0243, allocations: 20.5 kB / 444.3 MB, free: 3.777 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.0243, allocations: 0 / 444.3 MB, free: 3.777 MB / 366.1 MB Notification: Performance of Templates: time 0.006332/0.03063, allocations: 2.038 MB / 446.4 MB, free: 1.785 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.779726766049862] Failed to read output from testmodel.py, exit status != 0: 0.03987681865692139 0.28683206499999997 0.271714219 Calling exit ...