Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009091/0.0009092, allocations: 183.5 kB / 18.04 MB, free: 3.781 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.363/1.363, allocations: 205.4 MB / 224.2 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007124/0.0007124, allocations: 90.25 kB / 272.5 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003804/0.0003803, allocations: 8 kB / 329.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2126, allocations: 47.57 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1151/0.3277, allocations: 109.1 MB / 486.1 MB, free: 3.418 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/0.3281, allocations: 91.94 kB / 486.2 MB, free: 3.328 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2732/0.6014, allocations: 49.85 MB / 0.5235 GB, free: 94.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6014, allocations: 0 / 0.5235 GB, free: 94.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001932/0.6016, allocations: 58.19 kB / 0.5235 GB, free: 94.37 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.005835/0.6075, allocations: 2.6 MB / 0.5261 GB, free: 91.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.6075, allocations: 8.031 kB / 0.5261 GB, free: 91.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.6086, allocations: 317.4 kB / 0.5264 GB, free: 91.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003125/0.6117, allocations: 1.757 MB / 0.5281 GB, free: 89.85 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.6118, allocations: 168.8 kB / 0.5283 GB, free: 89.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005007/0.6123, allocations: 224.2 kB / 0.5285 GB, free: 89.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004916/0.6173, allocations: 2.915 MB / 0.5313 GB, free: 86.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.305e-05/0.6174, allocations: 4.094 kB / 0.5313 GB, free: 86.4 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002287/0.6176, allocations: 99.94 kB / 0.5314 GB, free: 86.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.394e-05/0.6177, allocations: 104.3 kB / 0.5315 GB, free: 86.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003837/0.6215, allocations: 2.324 MB / 0.5338 GB, free: 83.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01297/0.6345, allocations: 9.147 MB / 0.5427 GB, free: 74.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002033/0.6366, allocations: 1.775 MB / 0.5445 GB, free: 72.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001131/0.6378, allocations: 0.8504 MB / 0.5453 GB, free: 71.76 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002629/0.638, allocations: 222.6 kB / 0.5455 GB, free: 71.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.6381, allocations: 47.55 kB / 0.5455 GB, free: 71.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=108): time 3.968e-06/0.6381, allocations: 0 / 0.5455 GB, free: 71.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=131): time 0.01475/0.6529, allocations: 7.572 MB / 0.5529 GB, free: 63.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.6529, allocations: 72.66 kB / 0.553 GB, free: 63.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001951/0.6549, allocations: 1.522 MB / 0.5545 GB, free: 62.15 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.48e-05/0.655, allocations: 49.7 kB / 0.5545 GB, free: 62.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004873/0.6555, allocations: 1.097 MB / 0.5556 GB, free: 60.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002506/0.6557, allocations: 470.2 kB / 0.5561 GB, free: 60.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.461e-05/0.6558, allocations: 28 kB / 0.5561 GB, free: 60.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.778e-05/0.6559, allocations: 369.9 kB / 0.5564 GB, free: 60.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/0.657, allocations: 0.773 MB / 0.5572 GB, free: 59.37 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/0.6583, allocations: 1.188 MB / 0.5584 GB, free: 58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002473/0.6607, allocations: 2.1 MB / 0.5604 GB, free: 55.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.6608, allocations: 4 kB / 0.5604 GB, free: 55.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.004027/0.6648, allocations: 2.699 MB / 0.563 GB, free: 53 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.6648, allocations: 8 kB / 0.5631 GB, free: 52.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.861e-05/0.6649, allocations: 19.94 kB / 0.5631 GB, free: 52.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001288/0.6662, allocations: 0.5959 MB / 0.5637 GB, free: 52.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.6673, allocations: 359.4 kB / 0.564 GB, free: 52.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006447/0.6738, allocations: 6.698 MB / 0.5705 GB, free: 45.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/0.6752, allocations: 123.8 kB / 0.5707 GB, free: 44.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001663/0.6754, allocations: 64 kB / 0.5707 GB, free: 44.87 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * 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 (169): * Single equations (assignments): 166 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,72.2%) 23,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001308/0.6767, allocations: 0.7205 MB / 0.5714 GB, free: 44.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003627/0.6771, allocations: 177.8 kB / 0.5716 GB, free: 43.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003952/0.681, allocations: 2.43 MB / 0.574 GB, free: 41.51 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.6811, allocations: 16 kB / 0.574 GB, free: 41.49 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/0.6811, allocations: 4 kB / 0.574 GB, free: 41.49 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.6811, allocations: 7.969 kB / 0.574 GB, free: 41.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008272/0.6894, allocations: 4.996 MB / 0.5789 GB, free: 36.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/0.6894, allocations: 0 / 0.5789 GB, free: 36.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008564/0.6903, allocations: 224 kB / 0.5791 GB, free: 36.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001455/0.6918, allocations: 0.6388 MB / 0.5797 GB, free: 35.53 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002033/0.692, allocations: 43.84 kB / 0.5798 GB, free: 35.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007586/0.6996, allocations: 8.412 MB / 0.588 GB, free: 26.67 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.6996, allocations: 7.938 kB / 0.588 GB, free: 26.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005207/0.7048, allocations: 3.515 MB / 0.5914 GB, free: 23.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009311/0.7058, allocations: 410.8 kB / 0.5918 GB, free: 22.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004028/0.7062, allocations: 35.98 kB / 0.5918 GB, free: 22.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.7074, allocations: 95.89 kB / 0.5919 GB, free: 22.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002374/0.7076, allocations: 108.7 kB / 0.592 GB, free: 22.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.592e-05/0.7077, allocations: 43.98 kB / 0.5921 GB, free: 22.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001476/0.7092, allocations: 1.035 MB / 0.5931 GB, free: 21.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.7092, allocations: 0 / 0.5931 GB, free: 21.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001833/0.711, allocations: 0.5546 MB / 0.5936 GB, free: 20.8 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],smpm.idq_rr[2],smpm.idq_dr[1],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,72.2%) 23,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005698/0.7116, allocations: 355.8 kB / 0.594 GB, free: 20.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003586/0.7152, allocations: 2.434 MB / 0.5963 GB, free: 18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.7152, allocations: 0 / 0.5963 GB, free: 18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002273/0.7175, allocations: 1.557 MB / 0.5979 GB, free: 16.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002692/0.7202, allocations: 459.8 kB / 0.5983 GB, free: 15.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007237/0.7275, allocations: 5.662 MB / 0.6038 GB, free: 10.24 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001472/0.729, allocations: 1.887 MB / 0.6057 GB, free: 8.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001402/0.7304, allocations: 383.2 kB / 0.606 GB, free: 7.941 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003595/0.7308, allocations: 123.4 kB / 0.6062 GB, free: 7.82 MB / 378.7 MB Notification: Performance of SimCode: time 5.11e-07/0.7308, allocations: 0 / 0.6062 GB, free: 7.82 MB / 378.7 MB Notification: Performance of Templates: time 0.05127/0.782, allocations: 29.64 MB / 0.6351 GB, free: 10.17 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMPM_Inverter/SMPM_Inverter.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches