Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Drives.ASM,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM") translateModel(PowerSystems.Examples.AC3ph.Drives.ASM,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 111.8 kB / 17.75 MB, free: 5.223 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.001714/0.001714, allocations: 182.4 kB / 18.67 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.363/1.363, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1743/0.1743, allocations: 37.98 MB / 309.9 MB, free: 5.953 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 63.91 kB / 432.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09297/0.09442, allocations: 55.24 MB / 487.8 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM): time 0.008934/0.1034, allocations: 7.42 MB / 495.2 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008253/0.1117, allocations: 5.184 MB / 0.4887 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001313/0.113, allocations: 31.81 kB / 0.4887 GB, free: 11.65 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1895:3-1973:18:writable] Warning: Pure function 'Modelica.Math.Matrices.eigenValues' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgeev_eigenValues'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2829:3-2870:10:writable] Warning: Pure function 'Modelica.Math.Matrices.inv' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgetrf'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeComponents: time 0.0121/0.1251, allocations: 5.728 MB / 0.4943 GB, free: 5.914 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.002132/0.1273, allocations: 0.6845 MB / 0.495 GB, free: 5.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.1287, allocations: 0.4951 MB / 0.4954 GB, free: 4.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003596/0.1323, allocations: 2.643 MB / 0.498 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001973/0.1343, allocations: 1.361 MB / 0.4994 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001457/0.1358, allocations: 0.7904 MB / 0.5001 GB, free: 15.9 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001547/0.1373, allocations: 0.9306 MB / 0.501 GB, free: 14.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004295/0.1378, allocations: 144 kB / 0.5012 GB, free: 14.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001431/0.1392, allocations: 0.6593 MB / 0.5018 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008291/0.14, allocations: 0.6547 MB / 0.5025 GB, free: 13.51 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001238/0.1413, allocations: 0.7467 MB / 0.5032 GB, free: 12.76 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002732/0.144, allocations: 2.216 MB / 0.5053 GB, free: 10.54 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.1441, allocations: 4 kB / 0.5054 GB, free: 10.53 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1441, allocations: 0 / 0.5054 GB, free: 10.53 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.061e-05/0.1441, allocations: 0 / 0.5054 GB, free: 10.53 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: 293 * Number of variables: 293 Notification: Performance of Generate backend data structure: time 0.005038/0.1492, allocations: 1.956 MB / 0.5073 GB, free: 8.496 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.1492, allocations: 11.89 kB / 0.5073 GB, free: 8.484 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008105/0.1501, allocations: 171.2 kB / 0.5074 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00235/0.1524, allocations: 1.042 MB / 0.5085 GB, free: 7.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001812/0.1526, allocations: 183.1 kB / 0.5086 GB, free: 7.035 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002955/0.1529, allocations: 111.9 kB / 0.5087 GB, free: 6.926 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003492/0.1564, allocations: 1.859 MB / 0.5106 GB, free: 4.992 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.367e-05/0.1565, allocations: 7.906 kB / 0.5106 GB, free: 4.984 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001558/0.1566, allocations: 39.98 kB / 0.5106 GB, free: 4.945 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003046/0.157, allocations: 133.8 kB / 0.5107 GB, free: 4.812 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003041/0.16, allocations: 1.6 MB / 0.5123 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008558/0.1686, allocations: 5.72 MB / 0.5179 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002498/0.1711, allocations: 1.203 MB / 0.519 GB, free: 12.08 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001468/0.1726, allocations: 0.7386 MB / 0.5198 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.03e-05/0.1727, allocations: 17 kB / 0.5198 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001796/0.1745, allocations: 0.9689 MB / 0.5207 GB, free: 10.33 MB / 414.1 MB Notification: Performance of pre-optimization done (n=116): time 4.008e-06/0.1745, allocations: 8 kB / 0.5207 GB, free: 10.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=119): time 0.00988/0.1844, allocations: 4.669 MB / 0.5253 GB, free: 5.523 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.251e-05/0.1845, allocations: 131.8 kB / 0.5254 GB, free: 5.371 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.1856, allocations: 0.7859 MB / 0.5262 GB, free: 4.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001158/0.1857, allocations: 57.69 kB / 0.5262 GB, free: 4.508 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004092/0.1861, allocations: 0.4959 MB / 0.5267 GB, free: 4.004 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003606/0.1865, allocations: 406.3 kB / 0.5271 GB, free: 3.602 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004237/0.1869, allocations: 250.7 kB / 0.5274 GB, free: 3.352 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.1871, allocations: 414.7 kB / 0.5278 GB, free: 2.938 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.1881, allocations: 0.6943 MB / 0.5284 GB, free: 2.242 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001205/0.1894, allocations: 0.9686 MB / 0.5294 GB, free: 1.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2033/0.3927, allocations: 1.673 MB / 0.531 GB, free: 50.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.236e-05/0.3928, allocations: 6.062 kB / 0.531 GB, free: 50.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003857/0.3966, allocations: 2.318 MB / 0.5333 GB, free: 50.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.257e-05/0.3967, allocations: 60.53 kB / 0.5333 GB, free: 50.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.3967, allocations: 10.69 kB / 0.5333 GB, free: 50.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001299/0.398, allocations: 420.4 kB / 0.5337 GB, free: 50.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008119/0.3989, allocations: 208.8 kB / 0.5339 GB, free: 50.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007046/0.4059, allocations: 6.248 MB / 0.54 GB, free: 46.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008733/0.4068, allocations: 101.4 kB / 0.5401 GB, free: 46.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001649/0.407, allocations: 93.5 kB / 0.5402 GB, free: 46.36 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 29 (system.initime,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],$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 115 * Array equations: 3 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0006428/0.4076, allocations: 450.8 kB / 0.5407 GB, free: 46.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002024/0.4078, allocations: 105.2 kB / 0.5408 GB, free: 46.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003801/0.4116, allocations: 1.958 MB / 0.5427 GB, free: 45.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.499e-05/0.4117, allocations: 8.594 kB / 0.5427 GB, free: 45.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.4117, allocations: 3.594 kB / 0.5427 GB, free: 45.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005863/0.4123, allocations: 306.3 kB / 0.543 GB, free: 45.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002482/0.4125, allocations: 85.19 kB / 0.5431 GB, free: 45.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009862/0.4135, allocations: 116.2 kB / 0.5432 GB, free: 45.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002734/0.4138, allocations: 88.52 kB / 0.5433 GB, free: 45.05 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004944/0.4188, allocations: 2.033 MB / 0.5452 GB, free: 44.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004722/0.4235, allocations: 2.736 MB / 0.5479 GB, free: 43.27 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001419/0.4249, allocations: 0.7644 MB / 0.5487 GB, free: 43.03 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008206/0.4258, allocations: 0.5353 MB / 0.5492 GB, free: 42.8 MB / 414.1 MB Notification: Performance of Backend: time 3.91e-07/0.4258, allocations: 0 / 0.5492 GB, free: 42.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005026/0.4308, allocations: 2.23 MB / 0.5514 GB, free: 41.64 MB / 414.1 MB Notification: Performance of SimCode: time 0.003997/0.4348, allocations: 3.422 MB / 0.5547 GB, free: 39.55 MB / 414.1 MB Notification: Performance of Templates: time 0.0269/0.4617, allocations: 22.43 MB / 0.5766 GB, free: 20.43 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe 2>&1)