Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.idq_sr.1.|smpm.idq_sr.2.|voltageController.PI_d.x|voltageController.PI_q.x",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses") translateModel(ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.idq_sr.1.|smpm.idq_sr.2.|voltageController.PI_d.x|voltageController.PI_q.x",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 112.6 kB / 17.09 MB, free: 5.988 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.001237/0.001237, allocations: 199.3 kB / 18.02 MB, free: 5.066 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.372/1.372, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2025/0.2025, allocations: 43.52 MB / 314.8 MB, free: 452 kB / 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.00152/0.00152, allocations: 67.89 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1227, allocations: 57.78 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses): time 0.01338/0.1361, allocations: 11.65 MB / 0.4999 GB, free: 96 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008065/0.1442, allocations: 3.953 MB / 0.5038 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002571/0.1468, allocations: 63.69 kB / 0.5038 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002961/0.1498, allocations: 0.8615 MB / 0.5047 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00404/0.1539, allocations: 0.9473 MB / 0.5056 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.1556, allocations: 0.5188 MB / 0.5061 GB, free: 9.719 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004652/0.1602, allocations: 3.337 MB / 0.5094 GB, free: 6.367 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004169/0.1644, allocations: 2.981 MB / 0.5123 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002425/0.1669, allocations: 1.557 MB / 0.5138 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003614/0.1705, allocations: 1.997 MB / 0.5157 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001101/0.1716, allocations: 432 kB / 0.5162 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001906/0.1735, allocations: 0.5272 MB / 0.5167 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001806/0.1754, allocations: 1.227 MB / 0.5179 GB, free: 13.58 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003314/0.1787, allocations: 1.898 MB / 0.5197 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006347/0.1851, allocations: 5.58 MB / 0.5252 GB, free: 6.074 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1851, allocations: 0 / 0.5252 GB, free: 6.074 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1851, allocations: 0 / 0.5252 GB, free: 6.074 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001326/0.1852, allocations: 0 / 0.5252 GB, free: 6.074 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 745 * Number of variables: 745 Notification: Performance of Generate backend data structure: time 0.007488/0.1927, allocations: 3.825 MB / 0.5289 GB, free: 2.184 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.1928, allocations: 19.83 kB / 0.5289 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009596/0.1938, allocations: 396.5 kB / 0.5293 GB, free: 1.773 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2434/0.4371, allocations: 1.951 MB / 0.5312 GB, free: 36.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003188/0.4375, allocations: 215.7 kB / 0.5314 GB, free: 36.81 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001242/0.4388, allocations: 285.3 kB / 0.5317 GB, free: 36.81 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007842/0.4466, allocations: 3.731 MB / 0.5353 GB, free: 36.47 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.968e-05/0.4467, allocations: 6.078 kB / 0.5353 GB, free: 36.47 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002536/0.447, allocations: 117.4 kB / 0.5355 GB, free: 36.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001469/0.4472, allocations: 137.5 kB / 0.5356 GB, free: 36.37 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005072/0.4522, allocations: 3.168 MB / 0.5387 GB, free: 35.24 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0169/0.4692, allocations: 11.44 MB / 0.5498 GB, free: 29.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003319/0.4725, allocations: 2.169 MB / 0.552 GB, free: 28.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00175/0.4743, allocations: 1.227 MB / 0.5532 GB, free: 27.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002552/0.4745, allocations: 211.1 kB / 0.5534 GB, free: 27.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.4746, allocations: 53.47 kB / 0.5534 GB, free: 27.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=139): time 3.407e-06/0.4746, allocations: 0 / 0.5534 GB, free: 27.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=154): time 0.01526/0.4899, allocations: 8.204 MB / 0.5614 GB, free: 22.92 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.4899, allocations: 71.61 kB / 0.5615 GB, free: 22.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002376/0.4923, allocations: 1.937 MB / 0.5634 GB, free: 21.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001294/0.4924, allocations: 53.52 kB / 0.5634 GB, free: 21.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006315/0.4931, allocations: 1.356 MB / 0.5648 GB, free: 20.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003383/0.4934, allocations: 0.5155 MB / 0.5653 GB, free: 20.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004272/0.4938, allocations: 315.8 kB / 0.5656 GB, free: 19.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.254e-05/0.4939, allocations: 309.9 kB / 0.5659 GB, free: 19.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001131/0.495, allocations: 0.879 MB / 0.5667 GB, free: 18.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001213/0.4963, allocations: 1.349 MB / 0.568 GB, free: 17.37 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002401/0.4987, allocations: 2.392 MB / 0.5704 GB, free: 14.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.4987, allocations: 9.531 kB / 0.5704 GB, free: 14.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.004425/0.5031, allocations: 2.929 MB / 0.5732 GB, free: 11.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.5032, allocations: 15.94 kB / 0.5733 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.5032, allocations: 12.41 kB / 0.5733 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007697/0.504, allocations: 394.3 kB / 0.5736 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/0.5054, allocations: 451.3 kB / 0.5741 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00437/0.5098, allocations: 6.751 MB / 0.5807 GB, free: 3.797 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.5113, allocations: 131.2 kB / 0.5808 GB, free: 3.672 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.5114, allocations: 78.11 kB / 0.5809 GB, free: 3.598 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 202 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,9,100.0%), (1,2,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001374/0.5128, allocations: 0.9107 MB / 0.5818 GB, free: 2.676 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003052/0.5131, allocations: 205.5 kB / 0.582 GB, free: 2.473 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004261/0.5174, allocations: 2.91 MB / 0.5848 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.575e-05/0.5174, allocations: 7.969 kB / 0.5848 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.5174, allocations: 0 / 0.5848 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008094/0.5183, allocations: 482.5 kB / 0.5853 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002621/0.5185, allocations: 35.94 kB / 0.5853 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009742/0.5195, allocations: 103.9 kB / 0.5854 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002287/0.5197, allocations: 133.1 kB / 0.5855 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005614/0.5254, allocations: 3.007 MB / 0.5885 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004505/0.5299, allocations: 3.399 MB / 0.5918 GB, free: 8.375 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001226/0.5311, allocations: 0.9667 MB / 0.5927 GB, free: 7.41 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001869/0.533, allocations: 1.336 MB / 0.594 GB, free: 6.055 MB / 430.1 MB Notification: Performance of Backend: time 5.51e-07/0.533, allocations: 0 / 0.594 GB, free: 6.055 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003538/0.5366, allocations: 2.008 MB / 0.596 GB, free: 3.992 MB / 430.1 MB Notification: Performance of SimCode: time 0.008635/0.5452, allocations: 6.086 MB / 0.6019 GB, free: 13.87 MB / 446.1 MB Notification: Performance of Templates: time 0.05799/0.6032, allocations: 35.11 MB / 0.6362 GB, free: 10.79 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses.pipe 2>&1)