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.001697/0.001697, allocations: 98.61 kB / 16.93 MB, free: 6.445 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.001849/0.001849, allocations: 185.5 kB / 17.83 MB, free: 6.012 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.601/1.601, allocations: 205.4 MB / 224 MB, free: 13.18 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.0004784/0.0004787, allocations: 8 kB / 280.7 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09909/0.09958, allocations: 47.59 MB / 328.3 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.009774/0.1094, allocations: 8.331 MB / 336.7 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006048/0.1155, allocations: 3.361 MB / 340 MB, free: 8.352 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001403/0.1169, allocations: 43.81 kB / 340.1 MB, free: 8.309 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001743/0.1187, allocations: 0.6414 MB / 340.7 MB, free: 7.664 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00215/0.1209, allocations: 0.7205 MB / 341.4 MB, free: 6.941 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007282/0.1216, allocations: 279.5 kB / 341.7 MB, free: 6.668 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002619/0.1243, allocations: 1.802 MB / 343.5 MB, free: 4.863 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001824/0.1261, allocations: 1.556 MB / 345.1 MB, free: 3.273 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001116/0.1272, allocations: 0.864 MB / 345.9 MB, free: 2.406 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001329/0.1286, allocations: 1.125 MB / 347.1 MB, free: 1.277 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002407/0.1288, allocations: 136 kB / 347.2 MB, free: 1.145 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004869/0.1293, allocations: 219.8 kB / 347.4 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006419/0.13, allocations: 0.6699 MB / 348.1 MB, free: 264 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004762/0.1304, allocations: 0.5161 MB / 348.6 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002981/0.1334, allocations: 3.463 MB / 352.1 MB, free: 12.26 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.1335, allocations: 0 / 352.1 MB, free: 12.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1335, allocations: 0 / 352.1 MB, free: 12.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.713e-05/0.1335, allocations: 0 / 352.1 MB, free: 12.26 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.005046/0.1386, allocations: 2.605 MB / 354.7 MB, free: 9.594 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.1386, allocations: 8.031 kB / 354.7 MB, free: 9.586 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007604/0.1394, allocations: 316.5 kB / 355 MB, free: 9.273 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002664/0.1421, allocations: 1.473 MB / 356.4 MB, free: 7.742 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001615/0.1423, allocations: 168.4 kB / 356.6 MB, free: 7.574 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002901/0.1426, allocations: 223.9 kB / 356.8 MB, free: 7.355 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004734/0.1473, allocations: 2.89 MB / 359.7 MB, free: 4.379 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.528e-05/0.1474, allocations: 8 kB / 359.7 MB, free: 4.371 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002027/0.1476, allocations: 95.94 kB / 359.8 MB, free: 4.277 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001199/0.1477, allocations: 112.3 kB / 359.9 MB, free: 4.164 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00427/0.152, allocations: 2.437 MB / 362.4 MB, free: 1.711 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.015/0.167, allocations: 9.09 MB / 371.5 MB, free: 8.336 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002322/0.1694, allocations: 1.718 MB / 373.2 MB, free: 6.504 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003267/0.1698, allocations: 215.1 kB / 373.4 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.1698, allocations: 43.56 kB / 373.4 MB, free: 6.207 MB / 318.1 MB Notification: Performance of pre-optimization done (n=105): time 3.085e-06/0.1698, allocations: 0 / 373.4 MB, free: 6.207 MB / 318.1 MB Notification: Performance of matching and sorting (n=125): time 0.1779/0.3477, allocations: 7.49 MB / 380.9 MB, free: 50.59 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.3478, allocations: 66.34 kB / 381 MB, free: 50.52 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002107/0.3499, allocations: 1.501 MB / 382.5 MB, free: 50.11 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001088/0.35, allocations: 46.23 kB / 382.5 MB, free: 50.06 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005799/0.3506, allocations: 1.106 MB / 383.6 MB, free: 49.23 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002502/0.3508, allocations: 440.8 kB / 384.1 MB, free: 48.9 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.064e-05/0.3509, allocations: 33.19 kB / 384.1 MB, free: 48.87 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.17e-05/0.351, allocations: 368.5 kB / 384.5 MB, free: 48.54 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00117/0.3522, allocations: 0.754 MB / 385.2 MB, free: 48.29 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001312/0.3535, allocations: 1.177 MB / 386.4 MB, free: 47.52 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/0.3549, allocations: 0.9405 MB / 387.3 MB, free: 47.14 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.066e-06/0.3549, allocations: 5 kB / 387.3 MB, free: 47.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.004269/0.3592, allocations: 2.639 MB / 390 MB, free: 46.14 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/0.3592, allocations: 10.94 kB / 390 MB, free: 46.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.573e-05/0.3592, allocations: 13.62 kB / 390 MB, free: 46.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001341/0.3606, allocations: 0.5565 MB / 390.6 MB, free: 45.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/0.3619, allocations: 348.3 kB / 390.9 MB, free: 45.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006666/0.3686, allocations: 6.502 MB / 397.4 MB, free: 41.76 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/0.3703, allocations: 118.5 kB / 397.5 MB, free: 41.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/0.3705, allocations: 69.56 kB / 397.6 MB, free: 41.71 MB / 318.1 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 (167): * Single equations (assignments): 164 * 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%) 20,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001123/0.3716, allocations: 0.7131 MB / 398.3 MB, free: 41.3 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002579/0.3719, allocations: 172.4 kB / 398.5 MB, free: 41.21 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00341/0.3753, allocations: 2.335 MB / 400.8 MB, free: 40.15 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/0.3753, allocations: 13.12 kB / 400.8 MB, free: 40.15 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.3753, allocations: 4.188 kB / 400.8 MB, free: 40.15 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.3753, allocations: 9.422 kB / 400.8 MB, free: 40.14 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006805/0.3822, allocations: 4.836 MB / 405.7 MB, free: 36.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.3822, allocations: 15.7 kB / 405.7 MB, free: 36.97 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008485/0.383, allocations: 219.7 kB / 405.9 MB, free: 36.76 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001256/0.3843, allocations: 0.5766 MB / 406.5 MB, free: 36.17 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.4e-05/0.3844, allocations: 39.97 kB / 406.5 MB, free: 36.13 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006611/0.391, allocations: 7.992 MB / 414.5 MB, free: 27.74 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.391, allocations: 4 kB / 414.5 MB, free: 27.74 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004333/0.3954, allocations: 3.514 MB / 418 MB, free: 24.11 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007872/0.3962, allocations: 406.7 kB / 418.4 MB, free: 23.69 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/0.3964, allocations: 31.94 kB / 418.4 MB, free: 23.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008449/0.3972, allocations: 102 kB / 418.5 MB, free: 23.56 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/0.3974, allocations: 92.86 kB / 418.6 MB, free: 23.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-05/0.3975, allocations: 35.98 kB / 418.7 MB, free: 23.43 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001178/0.3987, allocations: 1.016 MB / 419.7 MB, free: 22.42 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3987, allocations: 4 kB / 419.7 MB, free: 22.41 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001423/0.4001, allocations: 0.4922 MB / 420.2 MB, free: 21.92 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (102): * Single equations (assignments): 99 * 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%) 20,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002492/0.4004, allocations: 156.6 kB / 420.3 MB, free: 21.77 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003135/0.4035, allocations: 2.366 MB / 422.7 MB, free: 19.36 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.4036, allocations: 4.375 kB / 422.7 MB, free: 19.36 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001967/0.4055, allocations: 1.486 MB / 424.2 MB, free: 17.83 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/0.4073, allocations: 445.2 kB / 424.6 MB, free: 17.41 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006612/0.4139, allocations: 5.599 MB / 430.2 MB, free: 11.77 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001183/0.4151, allocations: 1.919 MB / 432.1 MB, free: 9.809 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001244/0.4164, allocations: 382.8 kB / 432.5 MB, free: 9.43 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003198/0.4167, allocations: 123.4 kB / 432.6 MB, free: 9.309 MB / 318.1 MB Notification: Performance of SimCode: time 1.443e-06/0.4167, allocations: 0 / 432.6 MB, free: 9.309 MB / 318.1 MB Notification: Performance of Templates: time 0.04563/0.4623, allocations: 25.18 MB / 457.8 MB, free: 116 kB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter_res.mat","/var/lib/jenkins/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