Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.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.001548/0.001548, 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.001612/0.001612, allocations: 161.7 kB / 24.27 MB, free: 176 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.523/1.523, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.372/0.372, allocations: 29.41 MB / 290.5 MB, free: 2.445 MB / 266.7 MB " [Timeout remaining time 179] 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.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.53e-05, allocations: 2.312 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter): time 0.009542/0.009567, allocations: 6.18 MB / 375.1 MB, free: 5.098 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003004/0.01257, allocations: 1.286 MB / 376.4 MB, free: 3.809 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005083/0.01308, allocations: 39.62 kB / 376.4 MB, free: 3.77 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004785/0.01356, allocations: 126.9 kB / 376.5 MB, free: 3.645 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001366/0.01492, allocations: 441.4 kB / 376.9 MB, free: 3.211 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006999/0.01562, allocations: 251.4 kB / 377.2 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001655/0.01728, allocations: 1.141 MB / 378.3 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000488/0.01777, allocations: 250.2 kB / 378.6 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001331/0.0191, allocations: 0.666 MB / 379.2 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000971/0.02007, allocations: 498.7 kB / 379.7 MB, free: 432 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001892/0.02026, allocations: 68 kB / 379.8 MB, free: 364 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004471/0.0207, allocations: 64 kB / 379.9 MB, free: 300 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000476/0.02118, allocations: 359 kB / 380.2 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005121/0.02169, allocations: 275.3 kB / 380.5 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001276/0.02297, allocations: 0.9229 MB / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.02297, allocations: 0 / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.02297, allocations: 0 / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.281e-05/0.02301, allocations: 0 / 381.4 MB, free: 14.75 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.002524/0.02553, allocations: 1.088 MB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.02557, allocations: 11.98 kB / 382.5 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002845/0.02586, allocations: 140.4 kB / 382.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.02701, allocations: 0.5744 MB / 383.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002359/0.02724, allocations: 224 kB / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.02738, allocations: 68.36 kB / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001773/0.02915, allocations: 0.8652 MB / 384.4 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.02917, allocations: 0 / 384.4 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.958e-05/0.02925, allocations: 28 kB / 384.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001238/0.02937, allocations: 37.28 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/0.03071, allocations: 0.6217 MB / 385.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004349/0.03506, allocations: 2.443 MB / 387.5 MB, free: 8.418 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001762/0.03683, allocations: 0.568 MB / 388.1 MB, free: 7.832 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008216/0.03765, allocations: 300.8 kB / 388.4 MB, free: 7.539 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.03768, allocations: 8.328 kB / 388.4 MB, free: 7.531 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008295/0.03851, allocations: 346.8 kB / 388.7 MB, free: 7.172 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 1.934e-06/0.03851, allocations: 4 kB / 388.7 MB, free: 7.168 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.004684/0.0432, allocations: 1.692 MB / 390.4 MB, free: 5.434 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.0433, allocations: 118.9 kB / 390.5 MB, free: 5.293 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006098/0.04391, allocations: 457.7 kB / 391 MB, free: 4.832 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.152e-05/0.04397, allocations: 37.7 kB / 391 MB, free: 4.789 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003601/0.04433, allocations: 372.4 kB / 391.4 MB, free: 4.422 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001601/0.04449, allocations: 154.7 kB / 391.5 MB, free: 4.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002006/0.04469, allocations: 118.3 kB / 391.6 MB, free: 4.148 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002919/0.04498, allocations: 366.7 kB / 392 MB, free: 3.781 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004492/0.04543, allocations: 258.9 kB / 392.2 MB, free: 3.523 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005878/0.04602, allocations: 420.4 kB / 392.7 MB, free: 3.035 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009258/0.04694, allocations: 0.6181 MB / 393.3 MB, free: 2.344 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.04695, allocations: 3.938 kB / 393.3 MB, free: 2.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001794/0.04874, allocations: 0.8732 MB / 394.1 MB, free: 1.438 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.117e-05/0.04881, allocations: 49.69 kB / 394.2 MB, free: 1.383 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.04883, allocations: 4 kB / 394.2 MB, free: 1.379 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003751/0.0492, allocations: 93.66 kB / 394.3 MB, free: 1.281 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004316/0.04963, allocations: 107.8 kB / 394.4 MB, free: 1.176 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0034/0.05303, allocations: 3.006 MB / 397.4 MB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003738/0.05341, allocations: 32.05 kB / 397.4 MB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.992e-05/0.05349, allocations: 39.97 kB / 397.5 MB, free: 13.9 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,dc_ac.modulator.t0,$PRE.dc_ac.modulator.t0,dc_ac.modulator.sigdel_t,$PRE.dc_ac.modulator.sigdel_t,dc_ac.modulator.gates[4],$PRE.dc_ac.modulator.gates[4],dc_ac.modulator.gates[3],$PRE.dc_ac.modulator.gates[3],dc_ac.modulator.gates[2],$PRE.dc_ac.modulator.gates[2],dc_ac.modulator.gates[1],$PRE.dc_ac.modulator.gates[1],$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000427/0.05391, allocations: 265.5 kB / 397.7 MB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.05404, allocations: 75.66 kB / 397.8 MB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001609/0.05565, allocations: 0.6244 MB / 398.4 MB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.05566, allocations: 11.98 kB / 398.4 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.05567, allocations: 0 / 398.4 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.05568, allocations: 4 kB / 398.4 MB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002751/0.05843, allocations: 1.274 MB / 399.7 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.05843, allocations: 4 kB / 399.7 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003106/0.05874, allocations: 59.91 kB / 399.8 MB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000359/0.0591, allocations: 109.7 kB / 399.9 MB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.806e-05/0.05915, allocations: 23.92 kB / 399.9 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003277/0.06242, allocations: 2.983 MB / 402.9 MB, free: 8.191 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.06243, allocations: 3.938 kB / 402.9 MB, free: 8.188 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002271/0.0647, allocations: 1.013 MB / 403.9 MB, free: 7.145 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002401/0.06494, allocations: 87.67 kB / 404 MB, free: 7.059 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.417e-05/0.06503, allocations: 31.98 kB / 404 MB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003937/0.06543, allocations: 43.94 kB / 404.1 MB, free: 6.984 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.334e-05/0.06552, allocations: 31.89 kB / 404.1 MB, free: 6.953 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.914e-05/0.06556, allocations: 19.98 kB / 404.1 MB, free: 6.934 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003984/0.06596, allocations: 303.1 kB / 404.4 MB, free: 6.641 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06596, allocations: 0 / 404.4 MB, free: 6.641 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007373/0.0667, allocations: 151.9 kB / 404.6 MB, free: 6.492 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * Number of discrete variables: 8 ($whenCondition1,dc_ac.modulator.gates[1],dc_ac.modulator.gates[2],dc_ac.modulator.gates[3],dc_ac.modulator.gates[4],dc_ac.modulator.sigdel_t,dc_ac.modulator.t0,system.initime) * Number of discrete states: 6 (dc_ac.modulator.t0,dc_ac.modulator.sigdel_t,dc_ac.modulator.gates[3],dc_ac.modulator.gates[4],dc_ac.modulator.gates[1],dc_ac.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002171/0.06691, allocations: 127.1 kB / 404.7 MB, free: 6.355 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001738/0.06865, allocations: 0.8956 MB / 405.6 MB, free: 5.414 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.06865, allocations: 0 / 405.6 MB, free: 5.414 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009909/0.06964, allocations: 493.8 kB / 406.1 MB, free: 4.906 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007921/0.07044, allocations: 132.8 kB / 406.2 MB, free: 4.777 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002753/0.07319, allocations: 1.388 MB / 407.6 MB, free: 3.348 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000474/0.07366, allocations: 382.1 kB / 408 MB, free: 2.949 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003101/0.07397, allocations: 100.6 kB / 408.1 MB, free: 2.848 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.0741, allocations: 40.48 kB / 408.1 MB, free: 2.809 MB / 378.7 MB Notification: Performance of SimCode: time 1.242e-06/0.0741, allocations: 0 / 408.1 MB, free: 2.809 MB / 378.7 MB Notification: Performance of Templates: time 0.01546/0.08955, allocations: 6.813 MB / 414.9 MB, free: 12.11 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.113323334953748]