Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.|dqCurrentController.PI_d.x|dqCurrentController.PI_q.x",fileNamePrefix="ModelicaTest_4.0.0_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.|dqCurrentController.PI_d.x|dqCurrentController.PI_q.x",fileNamePrefix="ModelicaTest_4.0.0_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.001064/0.001064, allocations: 106.6 kB / 18.45 MB, free: 4.637 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.001007/0.001007, allocations: 191.2 kB / 19.39 MB, free: 3.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 243.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2226/0.2226, allocations: 44.18 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.89 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4175/0.4187, allocations: 60.82 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses): time 0.01963/0.4384, allocations: 11.68 MB / 0.531 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01002/0.4485, allocations: 3.894 MB / 0.5348 GB, free: 8.031 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003069/0.4516, allocations: 73.34 kB / 0.5348 GB, free: 8.012 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002586/0.4542, allocations: 0.9268 MB / 0.5358 GB, free: 7.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004376/0.4586, allocations: 0.9935 MB / 0.5367 GB, free: 6.461 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.46, allocations: 0.5145 MB / 0.5372 GB, free: 6.008 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004444/0.4645, allocations: 3.34 MB / 0.5405 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003571/0.468, allocations: 3.036 MB / 0.5435 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002609/0.4707, allocations: 1.559 MB / 0.545 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002948/0.4736, allocations: 2.007 MB / 0.5469 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000591/0.4742, allocations: 432 kB / 0.5473 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.4753, allocations: 0.5311 MB / 0.5479 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001091/0.4764, allocations: 1.227 MB / 0.5491 GB, free: 13.72 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001887/0.4783, allocations: 1.898 MB / 0.5509 GB, free: 11.81 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005743/0.484, allocations: 5.598 MB / 0.5564 GB, free: 6.195 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.484, allocations: 4 kB / 0.5564 GB, free: 6.191 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.4841, allocations: 0 / 0.5564 GB, free: 6.191 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001332/0.4842, allocations: 0 / 0.5564 GB, free: 6.191 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.007941/0.4921, allocations: 3.927 MB / 0.5602 GB, free: 2.191 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.4922, allocations: 12.02 kB / 0.5602 GB, free: 2.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000943/0.4931, allocations: 414.5 kB / 0.5606 GB, free: 1.773 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003566/0.4967, allocations: 2.096 MB / 0.5627 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/0.4969, allocations: 218 kB / 0.5629 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004568/0.4974, allocations: 283.9 kB / 0.5632 GB, free: 15.13 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00577/0.5031, allocations: 3.735 MB / 0.5668 GB, free: 11.33 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.87e-05/0.5032, allocations: 7.953 kB / 0.5668 GB, free: 11.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002507/0.5035, allocations: 116 kB / 0.5669 GB, free: 11.21 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001519/0.5037, allocations: 145.5 kB / 0.5671 GB, free: 11.06 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005247/0.5089, allocations: 3.172 MB / 0.5702 GB, free: 7.879 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01812/0.527, allocations: 11.47 MB / 0.5814 GB, free: 12.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003649/0.5307, allocations: 2.165 MB / 0.5835 GB, free: 9.832 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001885/0.5326, allocations: 1.234 MB / 0.5847 GB, free: 8.598 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003295/0.533, allocations: 208 kB / 0.5849 GB, free: 8.355 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.24e-05/0.533, allocations: 59.81 kB / 0.5849 GB, free: 8.289 MB / 446.1 MB Notification: Performance of pre-optimization done (n=139): time 3.346e-06/0.5331, allocations: 0 / 0.5849 GB, free: 8.289 MB / 446.1 MB Notification: Performance of matching and sorting (n=154): time 0.0163/0.5494, allocations: 7.918 MB / 0.5927 GB, free: 308 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.5494, allocations: 68.72 kB / 0.5927 GB, free: 228 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002696/0.5521, allocations: 1.941 MB / 0.5946 GB, free: 14.24 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.5523, allocations: 49.7 kB / 0.5947 GB, free: 14.18 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008719/0.5531, allocations: 1.401 MB / 0.596 GB, free: 12.77 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003957/0.5535, allocations: 0.5422 MB / 0.5966 GB, free: 12.22 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004996/0.554, allocations: 319.5 kB / 0.5969 GB, free: 11.9 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.159e-05/0.5541, allocations: 309.1 kB / 0.5972 GB, free: 11.6 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/0.5555, allocations: 0.8823 MB / 0.598 GB, free: 10.71 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001591/0.5571, allocations: 1.344 MB / 0.5993 GB, free: 9.176 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003069/0.5601, allocations: 2.392 MB / 0.6017 GB, free: 6.594 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.5602, allocations: 4 kB / 0.6017 GB, free: 6.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.004695/0.5649, allocations: 2.949 MB / 0.6046 GB, free: 3.602 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.5649, allocations: 12 kB / 0.6046 GB, free: 3.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.5649, allocations: 12 kB / 0.6046 GB, free: 3.578 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008673/0.5658, allocations: 391.2 kB / 0.605 GB, free: 3.184 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/0.5674, allocations: 447.3 kB / 0.6054 GB, free: 2.746 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006306/0.5738, allocations: 6.769 MB / 0.612 GB, free: 11.56 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/0.5754, allocations: 119.8 kB / 0.6121 GB, free: 11.45 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002154/0.5756, allocations: 75.97 kB / 0.6122 GB, free: 11.37 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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.001748/0.5774, allocations: 0.9071 MB / 0.6131 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006627/0.5781, allocations: 226.5 kB / 0.6133 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005693/0.5838, allocations: 2.903 MB / 0.6161 GB, free: 7.309 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-05/0.5838, allocations: 7.969 kB / 0.6161 GB, free: 7.301 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.5838, allocations: 0 / 0.6161 GB, free: 7.301 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001154/0.585, allocations: 499.6 kB / 0.6166 GB, free: 6.793 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005535/0.5856, allocations: 39.92 kB / 0.6166 GB, free: 6.754 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/0.5869, allocations: 103.9 kB / 0.6167 GB, free: 6.652 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002664/0.5872, allocations: 129 kB / 0.6169 GB, free: 6.527 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006428/0.5936, allocations: 3.03 MB / 0.6198 GB, free: 3.48 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005043/0.5987, allocations: 3.419 MB / 0.6232 GB, free: 44 kB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001298/0.6, allocations: 0.9667 MB / 0.6241 GB, free: 15.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001905/0.602, allocations: 1.34 MB / 0.6254 GB, free: 13.71 MB / 494.1 MB Notification: Performance of Backend: time 4.91e-07/0.602, allocations: 0 / 0.6254 GB, free: 13.71 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003404/0.6054, allocations: 1.998 MB / 0.6274 GB, free: 11.65 MB / 494.1 MB Notification: Performance of SimCode: time 0.008257/0.6136, allocations: 6.188 MB / 0.6334 GB, free: 5.406 MB / 494.1 MB Notification: Performance of Templates: time 0.06041/0.6741, allocations: 34.55 MB / 0.6671 GB, free: 3.125 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses.pipe 2>&1)