Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 183.7 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 225.7 MB / 243.2 MB, free: 10.21 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007604/0.0007604, allocations: 87.7 kB / 294.4 MB, free: 9.738 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.3067/0.3067, allocations: 38.11 MB / 383.6 MB, free: 40.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003007/0.0003008, allocations: 11.98 kB / 453.5 MB, free: 8.852 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3037, allocations: 59.13 MB / 0.5006 GB, free: 38.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.007647/0.3114, allocations: 6.834 MB / 0.5073 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005279/0.3167, allocations: 3.976 MB / 0.5112 GB, free: 33.51 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009681/0.3177, allocations: 46.06 kB / 0.5112 GB, free: 33.49 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005567/0.3183, allocations: 139.7 kB / 0.5113 GB, free: 33.42 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001594/0.3199, allocations: 0.5493 MB / 0.5119 GB, free: 33.15 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.3211, allocations: 448.8 kB / 0.5123 GB, free: 32.93 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002453/0.3236, allocations: 2.45 MB / 0.5147 GB, free: 32.14 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001338/0.3249, allocations: 1.096 MB / 0.5158 GB, free: 31.46 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008586/0.3258, allocations: 0.6383 MB / 0.5164 GB, free: 31.26 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001696/0.3275, allocations: 0.9126 MB / 0.5173 GB, free: 31 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002048/0.3277, allocations: 67.31 kB / 0.5173 GB, free: 31 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.329, allocations: 0.5987 MB / 0.5179 GB, free: 30.86 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005688/0.3296, allocations: 0.5454 MB / 0.5185 GB, free: 30.69 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007471/0.3303, allocations: 0.5972 MB / 0.519 GB, free: 30.36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001543/0.3319, allocations: 1.914 MB / 0.5209 GB, free: 29.88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3319, allocations: 0 / 0.5209 GB, free: 29.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3319, allocations: 0 / 0.5209 GB, free: 29.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.781e-05/0.3319, allocations: 0 / 0.5209 GB, free: 29.88 MB / 378.7 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.003637/0.3356, allocations: 1.71 MB / 0.5226 GB, free: 28.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.3356, allocations: 12.41 kB / 0.5226 GB, free: 28.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006366/0.3362, allocations: 162.1 kB / 0.5227 GB, free: 28.9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001748/0.338, allocations: 0.9368 MB / 0.5237 GB, free: 28.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000487/0.3385, allocations: 0.5186 MB / 0.5242 GB, free: 27.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002291/0.3387, allocations: 102.2 kB / 0.5243 GB, free: 27.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003402/0.3422, allocations: 2.112 MB / 0.5263 GB, free: 27.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.155e-05/0.3422, allocations: 9.875 kB / 0.5263 GB, free: 27.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/0.3423, allocations: 31.34 kB / 0.5264 GB, free: 27.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001813/0.3425, allocations: 93.33 kB / 0.5265 GB, free: 27.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004286/0.3468, allocations: 2.406 MB / 0.5288 GB, free: 26.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007682/0.3545, allocations: 5.773 MB / 0.5344 GB, free: 23.56 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004075/0.3586, allocations: 1.937 MB / 0.5363 GB, free: 22.92 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002248/0.3609, allocations: 1.25 MB / 0.5376 GB, free: 22.53 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.325e-05/0.361, allocations: 16.33 kB / 0.5376 GB, free: 22.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002709/0.3637, allocations: 1.476 MB / 0.539 GB, free: 22.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=123): time 3.376e-06/0.3637, allocations: 3.219 kB / 0.539 GB, free: 22.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=124): time 0.01328/0.377, allocations: 6.106 MB / 0.545 GB, free: 20.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/0.3771, allocations: 101.6 kB / 0.5451 GB, free: 19.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006226/0.3777, allocations: 497 kB / 0.5456 GB, free: 19.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.803e-05/0.3778, allocations: 59.95 kB / 0.5456 GB, free: 19.63 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002488/0.3781, allocations: 366.7 kB / 0.546 GB, free: 19.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003107/0.3784, allocations: 418.6 kB / 0.5464 GB, free: 19.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.359e-05/0.3785, allocations: 21.47 kB / 0.5464 GB, free: 19 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.3786, allocations: 391.3 kB / 0.5468 GB, free: 18.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002013/0.3806, allocations: 1.093 MB / 0.5478 GB, free: 18.33 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002137/0.3828, allocations: 1.251 MB / 0.549 GB, free: 17.87 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003762/0.3866, allocations: 2.189 MB / 0.5512 GB, free: 16.87 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.3866, allocations: 1.031 kB / 0.5512 GB, free: 16.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.01024/0.3968, allocations: 4.409 MB / 0.5555 GB, free: 14.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.835e-05/0.3969, allocations: 61.67 kB / 0.5555 GB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.3969, allocations: 0 / 0.5555 GB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005192/0.4021, allocations: 2.225 MB / 0.5577 GB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008737/0.403, allocations: 183.7 kB / 0.5579 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02072/0.4238, allocations: 11.64 MB / 0.5693 GB, free: 408 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.4252, allocations: 203.8 kB / 0.5695 GB, free: 204 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/0.4253, allocations: 75.88 kB / 0.5695 GB, free: 128 kB / 378.7 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 ($whenCondition3,$whenCondition2,$whenCondition1,system.initime,$PRE.inverter.modulator.gates[1],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[4],$PRE.inverter.modulator.gates[5],inverter.modulator.gates[5],$PRE.inverter.modulator.gates[6],inverter.modulator.gates[6],$PRE.inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[1],$PRE.inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[2],$PRE.inverter.modulator.sigdel_t[3],inverter.modulator.sigdel_t[3],$PRE.inverter.modulator.t0[1],inverter.modulator.t0[1],$PRE.inverter.modulator.t0[2],inverter.modulator.t0[2],$PRE.inverter.modulator.t0[3],inverter.modulator.t0[3]) * 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.0006897/0.426, allocations: 378.5 kB / 0.5699 GB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/0.4262, allocations: 90.89 kB / 0.57 GB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005464/0.4317, allocations: 2.545 MB / 0.5725 GB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-05/0.4318, allocations: 31.98 kB / 0.5725 GB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.4318, allocations: 0 / 0.5725 GB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/0.4318, allocations: 7.969 kB / 0.5725 GB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008032/0.4398, allocations: 4.312 MB / 0.5767 GB, free: 8.664 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/0.4399, allocations: 0 / 0.5767 GB, free: 8.664 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01094/0.4508, allocations: 2.857 MB / 0.5795 GB, free: 5.805 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.521e-05/0.4509, allocations: 4 kB / 0.5795 GB, free: 5.801 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001884/0.4511, allocations: 35.97 kB / 0.5795 GB, free: 5.766 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.01e-05/0.4511, allocations: 8 kB / 0.5795 GB, free: 5.758 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/0.4511, allocations: 7.922 kB / 0.5795 GB, free: 5.75 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008191/0.4593, allocations: 4.142 MB / 0.5836 GB, free: 1.562 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006494/0.46, allocations: 339.9 kB / 0.5839 GB, free: 1.211 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002444/0.4602, allocations: 87.94 kB / 0.584 GB, free: 1.125 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001354/0.4616, allocations: 235.9 kB / 0.5842 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004274/0.462, allocations: 196.6 kB / 0.5844 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001233/0.4622, allocations: 47.91 kB / 0.5845 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004555/0.4626, allocations: 342.8 kB / 0.5848 GB, free: 328 kB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4626, allocations: 0 / 0.5848 GB, free: 328 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.001187/0.4638, allocations: 360 kB / 0.5851 GB, free: 15.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (meterDC.pav,meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],pqLoad.psi[1],pqLoad.psi[2],pqLoad.psi[3],pqLoad.Z[1],pqLoad.Z[2]) * Number of discrete variables: 16 ($whenCondition3,$whenCondition2,$whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[3],inverter.modulator.t0[1],inverter.modulator.t0[2],inverter.modulator.t0[3]) * Number of discrete states: 12 (inverter.modulator.t0[3],inverter.modulator.sigdel_t[3],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.t0[2],inverter.modulator.sigdel_t[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.t0[1],inverter.modulator.sigdel_t[1],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 96 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0004177/0.4642, allocations: 232.6 kB / 0.5854 GB, free: 15.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0067/0.471, allocations: 3.147 MB / 0.5884 GB, free: 12.56 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.471, allocations: 0 / 0.5884 GB, free: 12.56 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00643/0.4774, allocations: 2.293 MB / 0.5907 GB, free: 10.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.4788, allocations: 169.9 kB / 0.5908 GB, free: 10.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007493/0.4863, allocations: 3.936 MB / 0.5947 GB, free: 6.105 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008551/0.4872, allocations: 1.14 MB / 0.5958 GB, free: 4.941 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001303/0.4885, allocations: 314.8 kB / 0.5961 GB, free: 4.629 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000397/0.4889, allocations: 75.41 kB / 0.5962 GB, free: 4.555 MB / 410.7 MB Notification: Performance of SimCode: time 7.81e-07/0.4889, allocations: 0 / 0.5962 GB, free: 4.555 MB / 410.7 MB Notification: Performance of Templates: time 0.03664/0.5255, allocations: 22.74 MB / 0.6184 GB, free: 13.87 MB / 442.7 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)