Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 114.3 kB / 17.75 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 185.3 kB / 18.68 MB, free: 4.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1774/0.1774, allocations: 38.03 MB / 330.6 MB, free: 8.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63.91 kB / 458.8 MB, free: 6.809 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2757, allocations: 58.05 MB / 0.5048 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.006238/0.282, allocations: 6.488 MB / 0.5111 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00317/0.2852, allocations: 2.439 MB / 0.5135 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002986/0.2855, allocations: 29.12 kB / 0.5135 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.2866, allocations: 444.1 kB / 0.5139 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001122/0.2877, allocations: 0.5969 MB / 0.5145 GB, free: 1.031 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.2888, allocations: 489 kB / 0.515 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001716/0.2905, allocations: 1.967 MB / 0.5169 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.2916, allocations: 0.8581 MB / 0.5177 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001211/0.2928, allocations: 0.7858 MB / 0.5185 GB, free: 15.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001331/0.2942, allocations: 0.966 MB / 0.5194 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002608/0.2944, allocations: 161.3 kB / 0.5196 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.2956, allocations: 0.6527 MB / 0.5202 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007292/0.2963, allocations: 0.6475 MB / 0.5209 GB, free: 14.53 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007809/0.2971, allocations: 0.6758 MB / 0.5215 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0025/0.2996, allocations: 2.042 MB / 0.5235 GB, free: 13.42 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2996, allocations: 1.375 kB / 0.5235 GB, free: 13.42 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2996, allocations: 0 / 0.5235 GB, free: 13.42 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.641e-05/0.2997, allocations: 0 / 0.5235 GB, free: 13.42 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.005008/0.3047, allocations: 1.933 MB / 0.5254 GB, free: 12.35 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.3047, allocations: 13.67 kB / 0.5254 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000739/0.3055, allocations: 168.4 kB / 0.5256 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002168/0.3077, allocations: 0.9748 MB / 0.5265 GB, free: 11.67 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005794/0.3083, allocations: 0.4963 MB / 0.527 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002699/0.3085, allocations: 108.5 kB / 0.5271 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003792/0.3123, allocations: 2.013 MB / 0.5291 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/0.3124, allocations: 1.312 kB / 0.5291 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/0.3125, allocations: 40.8 kB / 0.5291 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002053/0.3127, allocations: 92.06 kB / 0.5292 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004652/0.3174, allocations: 2.241 MB / 0.5314 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009067/0.3265, allocations: 5.655 MB / 0.5369 GB, free: 4.926 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004436/0.3309, allocations: 1.8 MB / 0.5387 GB, free: 3.965 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002431/0.3334, allocations: 1.152 MB / 0.5398 GB, free: 3.371 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001034/0.3335, allocations: 16.64 kB / 0.5398 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002784/0.3363, allocations: 1.386 MB / 0.5412 GB, free: 2.574 MB / 398.1 MB Notification: Performance of pre-optimization done (n=123): time 4.829e-06/0.3363, allocations: 0 / 0.5412 GB, free: 2.574 MB / 398.1 MB Notification: Performance of matching and sorting (n=124): time 0.01307/0.3494, allocations: 5.651 MB / 0.5467 GB, free: 13.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.3495, allocations: 102.1 kB / 0.5468 GB, free: 13.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005432/0.35, allocations: 498 kB / 0.5473 GB, free: 12.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001269/0.3501, allocations: 69.62 kB / 0.5473 GB, free: 12.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002781/0.3504, allocations: 369.5 kB / 0.5477 GB, free: 12.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003495/0.3508, allocations: 436.4 kB / 0.5481 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004356/0.3512, allocations: 222.9 kB / 0.5483 GB, free: 11.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.3514, allocations: 394.8 kB / 0.5487 GB, free: 11.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001997/0.3534, allocations: 1.021 MB / 0.5497 GB, free: 10.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00208/0.3555, allocations: 1.188 MB / 0.5509 GB, free: 8.836 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003804/0.3593, allocations: 2.039 MB / 0.5529 GB, free: 6.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3593, allocations: 0 / 0.5529 GB, free: 6.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.01077/0.3701, allocations: 3.907 MB / 0.5567 GB, free: 2.824 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.374e-05/0.3702, allocations: 61.67 kB / 0.5567 GB, free: 2.758 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.3702, allocations: 4 kB / 0.5567 GB, free: 2.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005949/0.3762, allocations: 2.067 MB / 0.5587 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008763/0.3771, allocations: 187.7 kB / 0.5589 GB, free: 0.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02483/0.4019, allocations: 11.32 MB / 0.57 GB, free: 5.031 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/0.4033, allocations: 163.8 kB / 0.5701 GB, free: 4.871 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000174/0.4035, allocations: 75.88 kB / 0.5702 GB, free: 4.797 MB / 430.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: 28 (inverter.modulator.t0[3],$PRE.inverter.modulator.t0[3],inverter.modulator.t0[2],$PRE.inverter.modulator.t0[2],inverter.modulator.t0[1],$PRE.inverter.modulator.t0[1],inverter.modulator.sigdel_t[3],$PRE.inverter.modulator.sigdel_t[3],inverter.modulator.sigdel_t[2],$PRE.inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[1],$PRE.inverter.modulator.sigdel_t[1],inverter.modulator.gates[6],$PRE.inverter.modulator.gates[6],inverter.modulator.gates[5],$PRE.inverter.modulator.gates[5],inverter.modulator.gates[4],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[1],system.initime,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 101 * Array equations: 3 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0006652/0.4041, allocations: 369.6 kB / 0.5706 GB, free: 4.426 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002179/0.4044, allocations: 87.42 kB / 0.5706 GB, free: 4.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00546/0.4098, allocations: 2.361 MB / 0.573 GB, free: 1.969 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/0.4098, allocations: 3.984 kB / 0.573 GB, free: 1.965 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.4099, allocations: 4 kB / 0.573 GB, free: 1.961 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000571/0.4104, allocations: 348.3 kB / 0.5733 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002492/0.4107, allocations: 83.94 kB / 0.5734 GB, free: 1.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/0.412, allocations: 195.7 kB / 0.5736 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004232/0.4124, allocations: 188.6 kB / 0.5737 GB, free: 1.145 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01387/0.4263, allocations: 4.314 MB / 0.5779 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007946/0.4342, allocations: 3.89 MB / 0.5817 GB, free: 8.898 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002416/0.4367, allocations: 1.222 MB / 0.5829 GB, free: 7.676 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004196/0.4371, allocations: 346.8 kB / 0.5833 GB, free: 7.336 MB / 446.1 MB Notification: Performance of Backend: time 1.543e-06/0.4371, allocations: 112 / 0.5833 GB, free: 7.336 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005083/0.4422, allocations: 2.178 MB / 0.5854 GB, free: 5.129 MB / 446.1 MB Notification: Performance of SimCode: time 0.003425/0.4456, allocations: 2.668 MB / 0.588 GB, free: 2.41 MB / 446.1 MB Notification: Performance of Templates: time 0.03976/0.4854, allocations: 28.4 MB / 0.6157 GB, free: 6.109 MB / 478.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe 2>&1)