Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.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.001831/0.001831, allocations: 84.39 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.001453/0.001453, allocations: 164.1 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.456/1.456, allocations: 177.1 MB / 204.3 MB, free: 9.176 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.1749/0.1749, allocations: 29.43 MB / 290.1 MB, free: 3.27 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.Inverters.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 430.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.506e-05/3.683e-05, allocations: 5.656 kB / 430.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.01183/0.01186, allocations: 5.97 MB / 436.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004095/0.01596, allocations: 1.363 MB / 438 MB, free: 10.56 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004739/0.01643, allocations: 35.69 kB / 438.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006806/0.01711, allocations: 146.8 kB / 438.2 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001326/0.01844, allocations: 429.5 kB / 438.6 MB, free: 9.957 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007079/0.01915, allocations: 203.5 kB / 438.8 MB, free: 9.758 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001758/0.02091, allocations: 1.106 MB / 439.9 MB, free: 8.648 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004853/0.02139, allocations: 213.2 kB / 440.2 MB, free: 8.434 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00129/0.02268, allocations: 0.6232 MB / 440.8 MB, free: 7.809 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001339/0.02402, allocations: 0.5065 MB / 441.3 MB, free: 7.301 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001696/0.02419, allocations: 68 kB / 441.4 MB, free: 7.234 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002141/0.02441, allocations: 64 kB / 441.4 MB, free: 7.172 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004996/0.0249, allocations: 327.1 kB / 441.7 MB, free: 6.852 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004815/0.02539, allocations: 259.5 kB / 442 MB, free: 6.598 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001348/0.02673, allocations: 0.853 MB / 442.8 MB, free: 5.742 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.02674, allocations: 0 / 442.8 MB, free: 5.742 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.02674, allocations: 0 / 442.8 MB, free: 5.742 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.02675, allocations: 0 / 442.8 MB, free: 5.742 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002827/0.02958, allocations: 0.9505 MB / 443.8 MB, free: 4.766 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/0.02964, allocations: 11.98 kB / 443.8 MB, free: 4.754 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003268/0.02996, allocations: 76.52 kB / 443.9 MB, free: 4.68 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/0.03148, allocations: 0.5071 MB / 444.4 MB, free: 4.148 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003307/0.03181, allocations: 224 kB / 444.6 MB, free: 3.891 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.03195, allocations: 56.38 kB / 444.7 MB, free: 3.836 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002092/0.03405, allocations: 0.7848 MB / 445.4 MB, free: 3.016 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.03407, allocations: 4 kB / 445.4 MB, free: 3.012 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.696e-05/0.03417, allocations: 20 kB / 445.5 MB, free: 2.992 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000161/0.03433, allocations: 40.97 kB / 445.5 MB, free: 2.953 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002179/0.03651, allocations: 0.7142 MB / 446.2 MB, free: 2.238 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.22/0.2565, allocations: 2.324 MB / 448.5 MB, free: 29.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/0.2583, allocations: 0.6969 MB / 449.2 MB, free: 29.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006979/0.259, allocations: 369.3 kB / 449.6 MB, free: 29.78 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.028e-05/0.259, allocations: 10.03 kB / 449.6 MB, free: 29.78 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.259, allocations: 44.62 kB / 449.7 MB, free: 29.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=50): time 2.875e-06/0.259, allocations: 0 / 449.7 MB, free: 29.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.003997/0.263, allocations: 1.841 MB / 451.5 MB, free: 29.01 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.2631, allocations: 89.44 kB / 451.6 MB, free: 28.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004313/0.2635, allocations: 367.6 kB / 451.9 MB, free: 28.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.166e-05/0.2636, allocations: 36.05 kB / 452 MB, free: 28.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.2637, allocations: 289.3 kB / 452.3 MB, free: 28.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.2638, allocations: 184.5 kB / 452.4 MB, free: 28.37 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/0.264, allocations: 96.77 kB / 452.5 MB, free: 28.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.953e-05/0.2641, allocations: 358.1 kB / 452.9 MB, free: 27.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005885/0.2647, allocations: 276.3 kB / 453.2 MB, free: 27.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000659/0.2653, allocations: 382.7 kB / 453.5 MB, free: 27.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.2665, allocations: 0.6522 MB / 454.2 MB, free: 27.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.2665, allocations: 0 / 454.2 MB, free: 27.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001536/0.268, allocations: 0.7984 MB / 455 MB, free: 27.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.268, allocations: 5.5 kB / 455 MB, free: 27.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.268, allocations: 6.828 kB / 455 MB, free: 27.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002714/0.2683, allocations: 75.33 kB / 455.1 MB, free: 27.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/0.2699, allocations: 306.1 kB / 455.4 MB, free: 27.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005249/0.2752, allocations: 6.013 MB / 461.4 MB, free: 21.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004658/0.2757, allocations: 40.31 kB / 461.4 MB, free: 21.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-05/0.2757, allocations: 28.25 kB / 461.4 MB, free: 21.69 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003336/0.276, allocations: 241.4 kB / 461.7 MB, free: 21.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.32e-05/0.2761, allocations: 49.52 kB / 461.7 MB, free: 21.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001534/0.2777, allocations: 0.7488 MB / 462.5 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.2777, allocations: 6.797 kB / 462.5 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2777, allocations: 0 / 462.5 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.2777, allocations: 4.109 kB / 462.5 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002759/0.2804, allocations: 1.433 MB / 463.9 MB, free: 20.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.2804, allocations: 2.984 kB / 463.9 MB, free: 20.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001859/0.2823, allocations: 325.2 kB / 464.2 MB, free: 20.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003086/0.2826, allocations: 91.19 kB / 464.3 MB, free: 20.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.586e-05/0.2827, allocations: 15.31 kB / 464.3 MB, free: 20.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001751/0.2844, allocations: 2.913 MB / 467.3 MB, free: 17.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.2844, allocations: 6.094 kB / 467.3 MB, free: 17.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002238/0.2866, allocations: 1.231 MB / 468.5 MB, free: 17.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.2868, allocations: 45.91 kB / 468.5 MB, free: 17.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.64e-05/0.2868, allocations: 15.2 kB / 468.6 MB, free: 17.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003831/0.2872, allocations: 34.39 kB / 468.6 MB, free: 17.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.2874, allocations: 56.02 kB / 468.6 MB, free: 17.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.912e-05/0.2874, allocations: 15.62 kB / 468.7 MB, free: 17.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003127/0.2877, allocations: 257.8 kB / 468.9 MB, free: 17.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2877, allocations: 0 / 468.9 MB, free: 17.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007934/0.2885, allocations: 146.2 kB / 469.1 MB, free: 17 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.0001339/0.2887, allocations: 109.4 kB / 469.2 MB, free: 16.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002891/0.2916, allocations: 1.063 MB / 470.2 MB, free: 16.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.2916, allocations: 1.812 kB / 470.2 MB, free: 16.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002075/0.2936, allocations: 0.7774 MB / 471 MB, free: 16.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007482/0.2944, allocations: 121.2 kB / 471.1 MB, free: 16.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003181/0.2976, allocations: 1.496 MB / 472.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.2979, allocations: 341.2 kB / 473 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003899/0.2983, allocations: 124.5 kB / 473.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.2984, allocations: 39.84 kB / 473.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of SimCode: time 1.152e-06/0.2984, allocations: 0 / 473.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of Templates: time 0.01338/0.3118, allocations: 7.369 MB / 480.5 MB, free: 11.39 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.083566274493933] Failed to read output from testmodel.py, exit status != 0: 0.3213889002799988 0.329863566 0.299873316 Calling exit ...