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.001348/0.001348, allocations: 108.9 kB / 18.45 MB, free: 4.602 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.001731/0.001731, allocations: 183 kB / 19.38 MB, free: 3.68 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.359/1.359, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2076/0.2076, allocations: 44.18 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 59.89 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3924, allocations: 60.82 MB / 0.5196 GB, free: 3.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses): time 0.01262/0.4051, allocations: 11.69 MB / 0.531 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009861/0.415, allocations: 3.884 MB / 0.5348 GB, free: 8.027 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002592/0.4176, allocations: 72.97 kB / 0.5348 GB, free: 8.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003516/0.4212, allocations: 0.9307 MB / 0.5358 GB, free: 7.289 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004918/0.4262, allocations: 0.9903 MB / 0.5367 GB, free: 6.457 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001953/0.4281, allocations: 0.5139 MB / 0.5372 GB, free: 6.004 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005326/0.4335, allocations: 3.333 MB / 0.5405 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005302/0.4388, allocations: 3.035 MB / 0.5434 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00296/0.4418, allocations: 1.567 MB / 0.545 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003755/0.4456, allocations: 2.012 MB / 0.5469 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001276/0.4469, allocations: 428 kB / 0.5473 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002157/0.449, allocations: 0.5233 MB / 0.5479 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001872/0.4509, allocations: 1.243 MB / 0.5491 GB, free: 13.72 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003468/0.4544, allocations: 1.89 MB / 0.5509 GB, free: 11.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006044/0.4605, allocations: 5.582 MB / 0.5564 GB, free: 6.223 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.4605, allocations: 0 / 0.5564 GB, free: 6.223 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4605, allocations: 0 / 0.5564 GB, free: 6.223 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001379/0.4607, allocations: 0 / 0.5564 GB, free: 6.223 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.008121/0.4688, allocations: 3.848 MB / 0.5601 GB, free: 2.305 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.4689, allocations: 8.031 kB / 0.5601 GB, free: 2.297 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.4699, allocations: 392.6 kB / 0.5605 GB, free: 1.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003724/0.4736, allocations: 2.083 MB / 0.5625 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001684/0.4738, allocations: 218 kB / 0.5627 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004225/0.4742, allocations: 283.8 kB / 0.563 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006504/0.4807, allocations: 3.735 MB / 0.5667 GB, free: 11.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.34e-05/0.4808, allocations: 8 kB / 0.5667 GB, free: 11.47 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002686/0.4811, allocations: 116 kB / 0.5668 GB, free: 11.36 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001467/0.4813, allocations: 141.5 kB / 0.5669 GB, free: 11.21 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005286/0.4866, allocations: 3.172 MB / 0.57 GB, free: 8.031 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01788/0.5045, allocations: 11.43 MB / 0.5812 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003625/0.5081, allocations: 2.173 MB / 0.5833 GB, free: 10.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001905/0.51, allocations: 1.23 MB / 0.5845 GB, free: 8.781 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002897/0.5104, allocations: 211.5 kB / 0.5847 GB, free: 8.535 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.5104, allocations: 51.88 kB / 0.5848 GB, free: 8.477 MB / 446.1 MB Notification: Performance of pre-optimization done (n=139): time 3.757e-06/0.5104, allocations: 3.938 kB / 0.5848 GB, free: 8.473 MB / 446.1 MB Notification: Performance of matching and sorting (n=154): time 0.0163/0.5267, allocations: 7.866 MB / 0.5924 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.5268, allocations: 68.72 kB / 0.5925 GB, free: 464 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002749/0.5295, allocations: 1.937 MB / 0.5944 GB, free: 14.47 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001394/0.5297, allocations: 53.7 kB / 0.5944 GB, free: 14.41 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008981/0.5306, allocations: 1.363 MB / 0.5958 GB, free: 13.04 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004219/0.531, allocations: 0.5276 MB / 0.5963 GB, free: 12.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004878/0.5315, allocations: 319.3 kB / 0.5966 GB, free: 12.18 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.5317, allocations: 305.1 kB / 0.5969 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/0.533, allocations: 0.8862 MB / 0.5978 GB, free: 10.99 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001591/0.5346, allocations: 1.344 MB / 0.5991 GB, free: 9.453 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003335/0.538, allocations: 2.385 MB / 0.6014 GB, free: 6.879 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-05/0.538, allocations: 7.938 kB / 0.6014 GB, free: 6.871 MB / 462.1 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.005334/0.5433, allocations: 2.94 MB / 0.6043 GB, free: 3.891 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/0.5434, allocations: 12 kB / 0.6043 GB, free: 3.879 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-05/0.5434, allocations: 15.94 kB / 0.6043 GB, free: 3.863 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009471/0.5444, allocations: 391.2 kB / 0.6047 GB, free: 3.469 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001672/0.5461, allocations: 451.3 kB / 0.6051 GB, free: 3.027 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006438/0.5525, allocations: 6.753 MB / 0.6117 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001849/0.5544, allocations: 127.8 kB / 0.6118 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002723/0.5547, allocations: 71.98 kB / 0.6119 GB, free: 11.66 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.002035/0.5567, allocations: 0.8994 MB / 0.6128 GB, free: 10.75 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006743/0.5574, allocations: 205.5 kB / 0.613 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005758/0.5632, allocations: 2.922 MB / 0.6158 GB, free: 7.609 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.936e-05/0.5632, allocations: 7.969 kB / 0.6158 GB, free: 7.602 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.5632, allocations: 0 / 0.6158 GB, free: 7.602 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001401/0.5646, allocations: 490.3 kB / 0.6163 GB, free: 7.102 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005869/0.5652, allocations: 32 kB / 0.6163 GB, free: 7.07 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/0.5665, allocations: 103.9 kB / 0.6164 GB, free: 6.969 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002624/0.5668, allocations: 125.1 kB / 0.6165 GB, free: 6.848 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006383/0.5732, allocations: 3.026 MB / 0.6195 GB, free: 3.805 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005097/0.5783, allocations: 3.414 MB / 0.6228 GB, free: 380 kB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001347/0.5797, allocations: 0.9666 MB / 0.6238 GB, free: 15.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002458/0.5822, allocations: 1.336 MB / 0.6251 GB, free: 14.04 MB / 494.1 MB Notification: Performance of Backend: time 5.11e-07/0.5822, allocations: 0 / 0.6251 GB, free: 14.04 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004317/0.5865, allocations: 1.994 MB / 0.627 GB, free: 11.98 MB / 494.1 MB Notification: Performance of SimCode: time 0.01109/0.5976, allocations: 6.093 MB / 0.633 GB, free: 5.844 MB / 494.1 MB Notification: Performance of Templates: time 0.06352/0.6612, allocations: 34.55 MB / 0.6667 GB, free: 3.562 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)