Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001164/0.001164, allocations: 172.5 kB / 14.1 MB, free: 1.223 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.433/1.433, allocations: 205.2 MB / 219.8 MB, free: 14.26 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.0009138/0.0009139, allocations: 90.67 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.017e-05/3.02e-05, allocations: 4 kB / 322.5 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09766/0.0977, allocations: 47.57 MB / 370 MB, free: 1.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3915/0.4893, allocations: 108 MB / 478.1 MB, free: 1.762 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/0.4896, allocations: 86.89 kB / 478.1 MB, free: 1.719 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4762/0.9658, allocations: 79.45 MB / 0.5445 GB, free: 89.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.9659, allocations: 1.469 kB / 0.5445 GB, free: 89.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002935/0.9662, allocations: 76.31 kB / 0.5446 GB, free: 89.54 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.01041/0.9766, allocations: 3.16 MB / 0.5477 GB, free: 88.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.329e-05/0.9767, allocations: 13.59 kB / 0.5477 GB, free: 88.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004877/0.9816, allocations: 0.7154 MB / 0.5484 GB, free: 88.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009082/0.9907, allocations: 3.283 MB / 0.5516 GB, free: 87.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002464/0.991, allocations: 237.6 kB / 0.5518 GB, free: 87.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008008/0.9918, allocations: 312.5 kB / 0.5521 GB, free: 87.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009069/1.001, allocations: 4.056 MB / 0.5561 GB, free: 87.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.121e-05/1.001, allocations: 3.906 kB / 0.5561 GB, free: 87.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003571/1.001, allocations: 134.6 kB / 0.5562 GB, free: 87.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001561/1.002, allocations: 149.3 kB / 0.5564 GB, free: 87.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005699/1.007, allocations: 3.28 MB / 0.5596 GB, free: 87.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02075/1.028, allocations: 13.24 MB / 0.5725 GB, free: 82.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005516/1.034, allocations: 6.811 MB / 0.5791 GB, free: 75.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001808/1.035, allocations: 1.324 MB / 0.5804 GB, free: 75.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006022/1.041, allocations: 3.688 MB / 0.584 GB, free: 73.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/1.042, allocations: 53.34 kB / 0.5841 GB, free: 73.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=117): time 3.297e-06/1.042, allocations: 3.938 kB / 0.5841 GB, free: 73.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=120): time 0.006201/1.048, allocations: 3.817 MB / 0.5878 GB, free: 71.22 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/1.048, allocations: 69.16 kB / 0.5879 GB, free: 71.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002158/1.05, allocations: 1.466 MB / 0.5893 GB, free: 70.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.532e-05/1.05, allocations: 49.2 kB / 0.5894 GB, free: 70.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007474/1.051, allocations: 1.411 MB / 0.5907 GB, free: 69.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002618/1.051, allocations: 426.4 kB / 0.5911 GB, free: 69.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/1.051, allocations: 30.59 kB / 0.5912 GB, free: 69.08 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/1.051, allocations: 370.8 kB / 0.5915 GB, free: 68.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000781/1.052, allocations: 0.5932 MB / 0.5921 GB, free: 68.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/1.053, allocations: 1.059 MB / 0.5931 GB, free: 67.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/1.054, allocations: 0.8046 MB / 0.5939 GB, free: 67.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/1.054, allocations: 3.75 kB / 0.5939 GB, free: 67.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003338/1.058, allocations: 2.214 MB / 0.5961 GB, free: 66.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/1.058, allocations: 11.03 kB / 0.5961 GB, free: 66.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/1.058, allocations: 18.28 kB / 0.5961 GB, free: 66.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006512/1.058, allocations: 267.2 kB / 0.5964 GB, free: 66.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/1.06, allocations: 362.2 kB / 0.5967 GB, free: 66.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004182/1.064, allocations: 5.668 MB / 0.6023 GB, free: 61.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/1.066, allocations: 87.36 kB / 0.6023 GB, free: 61.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/1.066, allocations: 66.53 kB / 0.6024 GB, free: 61.36 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (178): * Single equations (assignments): 174 * 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: 3 * 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: 3 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000283/1.066, allocations: 198.1 kB / 0.6026 GB, free: 61.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002213/1.066, allocations: 178.9 kB / 0.6028 GB, free: 61.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003231/1.07, allocations: 2.032 MB / 0.6047 GB, free: 60.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/1.07, allocations: 11.84 kB / 0.6048 GB, free: 60.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/1.07, allocations: 11.41 kB / 0.6048 GB, free: 60.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/1.07, allocations: 11.78 kB / 0.6048 GB, free: 60.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007459/1.077, allocations: 4.686 MB / 0.6094 GB, free: 57.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/1.077, allocations: 4 kB / 0.6094 GB, free: 57.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000722/1.078, allocations: 176.7 kB / 0.6095 GB, free: 57.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001032/1.079, allocations: 433.1 kB / 0.6099 GB, free: 57.63 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.641e-05/1.079, allocations: 39.06 kB / 0.61 GB, free: 57.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007931/1.087, allocations: 10.05 MB / 0.6198 GB, free: 49.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/1.087, allocations: 7.766 kB / 0.6198 GB, free: 49.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004489/1.092, allocations: 2.964 MB / 0.6227 GB, free: 47.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001244/1.093, allocations: 409.9 kB / 0.6231 GB, free: 46.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002115/1.093, allocations: 24 kB / 0.6231 GB, free: 46.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008562/1.094, allocations: 85.86 kB / 0.6232 GB, free: 46.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002473/1.094, allocations: 94.62 kB / 0.6233 GB, free: 46.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.758e-05/1.094, allocations: 35.89 kB / 0.6233 GB, free: 46.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001577/1.096, allocations: 1.123 MB / 0.6244 GB, free: 45.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.81e-07/1.096, allocations: 0 / 0.6244 GB, free: 45.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002361/1.098, allocations: 0.5704 MB / 0.625 GB, free: 45.16 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 79 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007006/1.099, allocations: 406.5 kB / 0.6253 GB, free: 44.83 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003026/1.102, allocations: 1.965 MB / 0.6273 GB, free: 42.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/1.102, allocations: 4.375 kB / 0.6273 GB, free: 42.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001846/1.104, allocations: 1.479 MB / 0.6287 GB, free: 41.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002442/1.106, allocations: 476.5 kB / 0.6292 GB, free: 41.13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008174/1.114, allocations: 4.425 MB / 0.6335 GB, free: 37.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001856/1.116, allocations: 2.343 MB / 0.6358 GB, free: 35.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001694/1.118, allocations: 379 kB / 0.6361 GB, free: 35.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002917/1.118, allocations: 125.6 kB / 0.6363 GB, free: 34.91 MB / 410.7 MB Notification: Performance of SimCode: time 1.352e-06/1.118, allocations: 0 / 0.6363 GB, free: 34.91 MB / 410.7 MB Notification: Performance of Templates: time 0.04974/1.168, allocations: 28.41 MB / 0.664 GB, free: 11.98 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Inverter/AIMC_Inverter.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches