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/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) 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 108.4 kB / 18.34 MB, free: 4.676 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.001622/0.001622, allocations: 186.9 kB / 19.28 MB, free: 3.75 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.491/1.491, allocations: 205.1 MB / 225.1 MB, free: 12.25 MB / 190.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.001271/0.001271, allocations: 51.92 kB / 282.1 MB, free: 2.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1148, allocations: 46.64 MB / 328.7 MB, free: 3.738 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.01277/0.1276, allocations: 10.26 MB / 339 MB, free: 9.43 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007423/0.1351, allocations: 3.482 MB / 342.5 MB, free: 5.93 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002246/0.1374, allocations: 47.75 kB / 342.5 MB, free: 5.883 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002608/0.1401, allocations: 0.7646 MB / 343.3 MB, free: 5.113 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004302/0.1444, allocations: 0.8307 MB / 344.1 MB, free: 4.277 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001448/0.1459, allocations: 427.4 kB / 344.5 MB, free: 3.859 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00427/0.1501, allocations: 2.767 MB / 347.3 MB, free: 1.082 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002898/0.1531, allocations: 2.37 MB / 349.7 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002189/0.1553, allocations: 1.246 MB / 350.9 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002427/0.1577, allocations: 1.584 MB / 352.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004682/0.1582, allocations: 332 kB / 352.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009135/0.1591, allocations: 439.8 kB / 353.3 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009088/0.16, allocations: 0.9389 MB / 354.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001694/0.1617, allocations: 1.505 MB / 355.7 MB, free: 8.605 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004153/0.1659, allocations: 4.377 MB / 360.1 MB, free: 4.215 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.385e-06/0.1659, allocations: 0 / 360.1 MB, free: 4.215 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1659, allocations: 0 / 360.1 MB, free: 4.215 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.036e-05/0.166, allocations: 0 / 360.1 MB, free: 4.215 MB / 302.1 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.006541/0.1726, allocations: 3.053 MB / 363.1 MB, free: 1.098 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.1726, allocations: 12.03 kB / 363.1 MB, free: 1.086 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008471/0.1735, allocations: 309.4 kB / 363.4 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002928/0.1764, allocations: 1.528 MB / 365 MB, free: 15.19 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.1766, allocations: 176.5 kB / 365.1 MB, free: 15.02 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000321/0.1769, allocations: 219.9 kB / 365.4 MB, free: 14.8 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004844/0.1818, allocations: 2.913 MB / 368.3 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.955e-05/0.1818, allocations: 7.906 kB / 368.3 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002242/0.1821, allocations: 92 kB / 368.4 MB, free: 11.71 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001451/0.1822, allocations: 108.3 kB / 368.5 MB, free: 11.6 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004225/0.1865, allocations: 2.441 MB / 370.9 MB, free: 9.141 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2709/0.4574, allocations: 9.003 MB / 379.9 MB, free: 49.28 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004055/0.4615, allocations: 1.703 MB / 381.6 MB, free: 48.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0025/0.464, allocations: 0.9875 MB / 382.6 MB, free: 48.66 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003283/0.4644, allocations: 203.5 kB / 382.8 MB, free: 48.48 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.4645, allocations: 44.86 kB / 382.8 MB, free: 48.44 MB / 318.1 MB Notification: Performance of pre-optimization done (n=105): time 3.466e-06/0.4645, allocations: 1.75 kB / 382.9 MB, free: 48.44 MB / 318.1 MB Notification: Performance of matching and sorting (n=122): time 0.01757/0.482, allocations: 6.526 MB / 389.4 MB, free: 46.26 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/0.4821, allocations: 69.58 kB / 389.4 MB, free: 46.2 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003508/0.4857, allocations: 1.567 MB / 391 MB, free: 45.59 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003871/0.4861, allocations: 46.2 kB / 391.1 MB, free: 45.54 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008119/0.4869, allocations: 1.104 MB / 392.2 MB, free: 44.69 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003658/0.4873, allocations: 432.5 kB / 392.6 MB, free: 44.37 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004416/0.4877, allocations: 270.7 kB / 392.8 MB, free: 44.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.904e-05/0.4878, allocations: 305.1 kB / 393.1 MB, free: 43.93 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/0.4891, allocations: 0.7071 MB / 393.9 MB, free: 43.69 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00153/0.4906, allocations: 1.146 MB / 395 MB, free: 42.92 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002664/0.4933, allocations: 1.971 MB / 397 MB, free: 41.74 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/0.4933, allocations: 3.906 kB / 397 MB, free: 41.74 MB / 318.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004327/0.4977, allocations: 2.509 MB / 399.5 MB, free: 40.69 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/0.4977, allocations: 11.66 kB / 399.5 MB, free: 40.69 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.197e-05/0.4978, allocations: 11.62 kB / 399.5 MB, free: 40.69 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/0.4989, allocations: 429.1 kB / 399.9 MB, free: 40.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/0.5004, allocations: 356.6 kB / 400.3 MB, free: 40.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006417/0.5068, allocations: 7.123 MB / 407.4 MB, free: 34.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002046/0.5089, allocations: 108.5 kB / 407.5 MB, free: 34.4 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001677/0.5091, allocations: 63.95 kB / 407.6 MB, free: 34.38 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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): 165 * 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 {(3,12,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002045/0.5112, allocations: 0.7215 MB / 408.3 MB, free: 33.89 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007195/0.5119, allocations: 170.4 kB / 408.5 MB, free: 33.8 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004416/0.5163, allocations: 2.19 MB / 410.6 MB, free: 31.71 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/0.5164, allocations: 16 kB / 410.7 MB, free: 31.7 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.631e-05/0.5164, allocations: 4 kB / 410.7 MB, free: 31.7 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/0.5164, allocations: 7.969 kB / 410.7 MB, free: 31.69 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01192/0.5284, allocations: 4.766 MB / 415.4 MB, free: 26.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.827e-05/0.5285, allocations: 8.031 kB / 415.4 MB, free: 26.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009804/0.5295, allocations: 219.7 kB / 415.7 MB, free: 26.58 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001178/0.5307, allocations: 451.8 kB / 416.1 MB, free: 26.13 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001312/0.5308, allocations: 39.97 kB / 416.1 MB, free: 26.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007357/0.5382, allocations: 8.674 MB / 424.8 MB, free: 16.89 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.388e-06/0.5383, allocations: 8 kB / 424.8 MB, free: 16.88 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005435/0.5437, allocations: 3.218 MB / 428 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001502/0.5453, allocations: 398.9 kB / 428.4 MB, free: 13.16 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007358/0.546, allocations: 35.94 kB / 428.5 MB, free: 13.13 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001677/0.5477, allocations: 91.83 kB / 428.6 MB, free: 13.04 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003589/0.5481, allocations: 92.81 kB / 428.6 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/0.5482, allocations: 47.92 kB / 428.7 MB, free: 12.9 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002524/0.5508, allocations: 1.066 MB / 429.8 MB, free: 11.84 MB / 318.1 MB Notification: Performance of sort global known variables: time 7.72e-07/0.5508, allocations: 0 / 429.8 MB, free: 11.84 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002702/0.5535, allocations: 491.8 kB / 430.2 MB, free: 11.36 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (108): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,12,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004727/0.554, allocations: 187.5 kB / 430.4 MB, free: 11.17 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003618/0.5576, allocations: 2.296 MB / 432.7 MB, free: 8.824 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.5576, allocations: 0 / 432.7 MB, free: 8.824 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002028/0.5597, allocations: 1.481 MB / 434.2 MB, free: 7.293 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002713/0.5624, allocations: 485.1 kB / 434.7 MB, free: 6.836 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007758/0.5702, allocations: 4.678 MB / 439.3 MB, free: 2.098 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001699/0.5719, allocations: 1.867 MB / 441.2 MB, free: 196 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001355/0.5733, allocations: 394.9 kB / 441.6 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004801/0.5738, allocations: 127.3 kB / 441.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of SimCode: time 8.62e-07/0.5738, allocations: 0 / 441.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of Templates: time 0.0512/0.625, allocations: 26.36 MB / 468.1 MB, free: 5.305 MB / 350.1 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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