Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.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.ASMav,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2400,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMav,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2400,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001976/0.001976, allocations: 114.2 kB / 17.75 MB, free: 5.355 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.002135/0.002135, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.415/1.415, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1771/0.1771, allocations: 37.99 MB / 309.9 MB, free: 5.957 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.001468/0.001468, allocations: 67.91 kB / 432.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09876/0.1002, allocations: 55.25 MB / 487.8 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.009601/0.1099, allocations: 7.104 MB / 494.9 MB, free: 1.203 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008451/0.1184, allocations: 5.051 MB / 500 MB, free: 12.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.1194, allocations: 27.88 kB / 500 MB, free: 12.11 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.01108/0.1305, allocations: 5.704 MB / 0.4938 GB, free: 6.391 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.00166/0.1322, allocations: 0.5131 MB / 0.4943 GB, free: 5.875 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.1336, allocations: 475 kB / 0.4948 GB, free: 5.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002976/0.1366, allocations: 2.257 MB / 0.497 GB, free: 3.148 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001242/0.1379, allocations: 0.9274 MB / 0.4979 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009798/0.1389, allocations: 0.6033 MB / 0.4985 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/0.1399, allocations: 0.724 MB / 0.4992 GB, free: 0.875 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002299/0.1402, allocations: 104 kB / 0.4993 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006144/0.1408, allocations: 255.7 kB / 0.4995 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004548/0.1413, allocations: 498.8 kB / 0.5 GB, free: 36 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007528/0.142, allocations: 0.5792 MB / 0.5006 GB, free: 15.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001667/0.1437, allocations: 1.546 MB / 0.5021 GB, free: 13.9 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1437, allocations: 0 / 0.5021 GB, free: 13.9 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1437, allocations: 0 / 0.5021 GB, free: 13.9 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.676e-05/0.1438, allocations: 0 / 0.5021 GB, free: 13.9 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: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.003229/0.147, allocations: 1.464 MB / 0.5035 GB, free: 12.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.1471, allocations: 11.89 kB / 0.5035 GB, free: 12.37 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006438/0.1477, allocations: 147.5 kB / 0.5037 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001797/0.1495, allocations: 0.9055 MB / 0.5046 GB, free: 11.28 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.226e-05/0.1496, allocations: 61.98 kB / 0.5046 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.1498, allocations: 95.88 kB / 0.5047 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/0.1515, allocations: 1.227 MB / 0.5059 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.082e-05/0.1516, allocations: 4 kB / 0.5059 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.011e-05/0.1517, allocations: 35.98 kB / 0.5059 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002187/0.1519, allocations: 93.88 kB / 0.506 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001598/0.1535, allocations: 1.007 MB / 0.507 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006689/0.1602, allocations: 4.893 MB / 0.5118 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009595/0.1612, allocations: 0.6489 MB / 0.5124 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005675/0.1618, allocations: 359.2 kB / 0.5128 GB, free: 2.543 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-05/0.1619, allocations: 12.55 kB / 0.5128 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006409/0.1625, allocations: 449.8 kB / 0.5132 GB, free: 2.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=62): time 2.715e-06/0.1625, allocations: 0 / 0.5132 GB, free: 2.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=65): time 0.004614/0.1671, allocations: 2.716 MB / 0.5159 GB, free: 15.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.204e-05/0.1672, allocations: 111.4 kB / 0.516 GB, free: 15.08 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009407/0.1682, allocations: 0.739 MB / 0.5167 GB, free: 14.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.79e-05/0.1682, allocations: 41.7 kB / 0.5167 GB, free: 14.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003779/0.1686, allocations: 0.4986 MB / 0.5172 GB, free: 13.78 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001984/0.1688, allocations: 236.6 kB / 0.5174 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002709/0.1691, allocations: 182.5 kB / 0.5176 GB, free: 13.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002894/0.1694, allocations: 398.7 kB / 0.518 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000586/0.17, allocations: 381.7 kB / 0.5184 GB, free: 12.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007707/0.1708, allocations: 0.6539 MB / 0.519 GB, free: 11.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/0.1722, allocations: 1.049 MB / 0.52 GB, free: 10.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.1722, allocations: 4 kB / 0.52 GB, free: 10.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003028/0.1753, allocations: 1.627 MB / 0.5216 GB, free: 8.973 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.1753, allocations: 12 kB / 0.5216 GB, free: 8.961 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.1753, allocations: 8 kB / 0.5216 GB, free: 8.953 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001536/0.1769, allocations: 485.5 kB / 0.5221 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006413/0.1775, allocations: 167.7 kB / 0.5223 GB, free: 8.309 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009995/0.1875, allocations: 7.11 MB / 0.5292 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008205/0.1884, allocations: 40.03 kB / 0.5292 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/0.1885, allocations: 47.94 kB / 0.5293 GB, free: 0.8203 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * 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 {(6,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0006088/0.1892, allocations: 357.4 kB / 0.5296 GB, free: 472 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001901/0.1894, allocations: 82.97 kB / 0.5297 GB, free: 388 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2039/0.3932, allocations: 1.109 MB / 0.5308 GB, free: 52.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.679e-05/0.3933, allocations: 3.609 kB / 0.5308 GB, free: 52.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.3933, allocations: 3.812 kB / 0.5308 GB, free: 52.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004631/0.3937, allocations: 210.4 kB / 0.531 GB, free: 52.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000202/0.394, allocations: 18.09 kB / 0.531 GB, free: 52.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005354/0.3945, allocations: 31.45 kB / 0.531 GB, free: 52.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/0.3947, allocations: 50.41 kB / 0.5311 GB, free: 52.16 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002834/0.3975, allocations: 1.184 MB / 0.5322 GB, free: 51.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001744/0.3993, allocations: 1.414 MB / 0.5336 GB, free: 51.53 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005109/0.3998, allocations: 358.7 kB / 0.534 GB, free: 51.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008044/0.4006, allocations: 0.5105 MB / 0.5345 GB, free: 51.19 MB / 414.1 MB Notification: Performance of Backend: time 3.81e-07/0.4006, allocations: 0 / 0.5345 GB, free: 51.19 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003665/0.4043, allocations: 1.557 MB / 0.536 GB, free: 50.44 MB / 414.1 MB Notification: Performance of SimCode: time 0.004156/0.4085, allocations: 3.078 MB / 0.539 GB, free: 48.58 MB / 414.1 MB Notification: Performance of Templates: time 0.02812/0.4366, allocations: 16.22 MB / 0.5548 GB, free: 43.05 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe 2>&1)