Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.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.ASMcharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 112.7 kB / 17.75 MB, free: 5.332 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.001255/0.001255, allocations: 187 kB / 18.68 MB, free: 4.406 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.324/1.324, allocations: 205.1 MB / 224.5 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1768/0.1768, allocations: 37.99 MB / 309.9 MB, free: 5.949 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.001517/0.001517, allocations: 63.91 kB / 432.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09358/0.09511, allocations: 55.24 MB / 487.8 MB, free: 8.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.006381/0.1015, allocations: 5.234 MB / 493 MB, free: 3.07 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00566/0.1072, allocations: 4.008 MB / 497 MB, free: 15.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003338/0.1076, allocations: 15.94 kB / 497 MB, free: 15.03 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.008723/0.1163, allocations: 4.784 MB / 0.4901 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006898/0.117, allocations: 318.4 kB / 0.4904 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005038/0.1175, allocations: 215.6 kB / 0.4906 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001952/0.1195, allocations: 1.555 MB / 0.4921 GB, free: 8.156 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008149/0.1203, allocations: 0.5885 MB / 0.4927 GB, free: 7.562 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005695/0.1209, allocations: 374.7 kB / 0.493 GB, free: 7.195 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006157/0.1215, allocations: 406.4 kB / 0.4934 GB, free: 6.797 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001054/0.1217, allocations: 56 kB / 0.4935 GB, free: 6.742 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002033/0.1219, allocations: 68 kB / 0.4935 GB, free: 6.676 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002967/0.1222, allocations: 263.3 kB / 0.4938 GB, free: 6.418 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000361/0.1225, allocations: 322.5 kB / 0.4941 GB, free: 6.102 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008779/0.1234, allocations: 0.8098 MB / 0.4949 GB, free: 5.289 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1234, allocations: 4 kB / 0.4949 GB, free: 5.285 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1235, allocations: 0 / 0.4949 GB, free: 5.285 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.464e-05/0.1235, allocations: 0 / 0.4949 GB, free: 5.285 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001741/0.1252, allocations: 0.8746 MB / 0.4957 GB, free: 4.363 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.1253, allocations: 11.89 kB / 0.4957 GB, free: 4.352 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003295/0.1256, allocations: 68.17 kB / 0.4958 GB, free: 4.285 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.1267, allocations: 0.5645 MB / 0.4964 GB, free: 3.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/0.1267, allocations: 33 kB / 0.4964 GB, free: 3.648 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.901e-05/0.1268, allocations: 43.98 kB / 0.4964 GB, free: 3.605 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.1278, allocations: 0.6336 MB / 0.4971 GB, free: 2.938 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.998e-05/0.1279, allocations: 7.938 kB / 0.4971 GB, free: 2.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.36e-05/0.1279, allocations: 20 kB / 0.4971 GB, free: 2.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001291/0.1281, allocations: 44.97 kB / 0.4971 GB, free: 2.863 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008052/0.1289, allocations: 467.6 kB / 0.4976 GB, free: 2.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003242/0.1321, allocations: 2.507 MB / 0.5 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004201/0.1326, allocations: 281.2 kB / 0.5003 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/0.1328, allocations: 141.7 kB / 0.5004 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.1328, allocations: 0 / 0.5004 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.1329, allocations: 42.56 kB / 0.5005 GB, free: 15.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 1.352e-06/0.1329, allocations: 0 / 0.5005 GB, free: 15.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.002916/0.1358, allocations: 1.544 MB / 0.502 GB, free: 13.61 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.1358, allocations: 81.11 kB / 0.5021 GB, free: 13.51 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004331/0.1363, allocations: 409.9 kB / 0.5024 GB, free: 13.1 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.1363, allocations: 29.7 kB / 0.5025 GB, free: 13.06 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.1365, allocations: 307.4 kB / 0.5028 GB, free: 12.76 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.1366, allocations: 118.4 kB / 0.5029 GB, free: 12.64 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.1368, allocations: 82.06 kB / 0.503 GB, free: 12.55 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1369, allocations: 358.7 kB / 0.5033 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.1372, allocations: 132.8 kB / 0.5034 GB, free: 12.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003085/0.1375, allocations: 274.3 kB / 0.5037 GB, free: 11.74 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005436/0.138, allocations: 457.6 kB / 0.5041 GB, free: 11.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.138, allocations: 4 kB / 0.5041 GB, free: 11.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001054/0.1391, allocations: 0.6716 MB / 0.5048 GB, free: 10.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.1391, allocations: 8 kB / 0.5048 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.1391, allocations: 4 kB / 0.5048 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000448/0.1396, allocations: 157.8 kB / 0.5049 GB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002806/0.1399, allocations: 67.91 kB / 0.505 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00338/0.1433, allocations: 3.68 MB / 0.5086 GB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/0.1436, allocations: 16 kB / 0.5086 GB, free: 6.297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.339e-05/0.1436, allocations: 20 kB / 0.5086 GB, free: 6.277 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * 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): 2 systems {(2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002752/0.1439, allocations: 241.7 kB / 0.5089 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.835e-05/0.144, allocations: 47.44 kB / 0.5089 GB, free: 5.984 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009339/0.1449, allocations: 0.5749 MB / 0.5095 GB, free: 5.375 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1449, allocations: 0 / 0.5095 GB, free: 5.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1449, allocations: 0 / 0.5095 GB, free: 5.375 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001816/0.1451, allocations: 144.6 kB / 0.5096 GB, free: 5.215 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.606e-05/0.1452, allocations: 15.97 kB / 0.5096 GB, free: 5.199 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.1454, allocations: 4 kB / 0.5096 GB, free: 5.195 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.956e-05/0.1455, allocations: 31.89 kB / 0.5097 GB, free: 5.164 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001099/0.1466, allocations: 0.6386 MB / 0.5103 GB, free: 4.512 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007721/0.1474, allocations: 0.736 MB / 0.511 GB, free: 3.762 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002027/0.1476, allocations: 151.8 kB / 0.5111 GB, free: 3.613 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002986/0.1479, allocations: 291.1 kB / 0.5114 GB, free: 3.332 MB / 398.1 MB Notification: Performance of Backend: time 4.5e-07/0.1479, allocations: 0 / 0.5114 GB, free: 3.332 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001238/0.1491, allocations: 0.5901 MB / 0.512 GB, free: 2.711 MB / 398.1 MB Notification: Performance of SimCode: time 0.002087/0.1512, allocations: 1.665 MB / 0.5136 GB, free: 1 MB / 398.1 MB Notification: Performance of Templates: time 0.01182/0.1631, allocations: 6.224 MB / 0.5197 GB, free: 10.77 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe 2>&1)