Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.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_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aimcE.i_0_s|aimcE.idq_rr.1.|aimcE.idq_rr.2.|aimcE.idq_sr.1.|aimcE.idq_sr.2.|aimcE.is.1.|aimcE.is.2.|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.strayReluctance.port_p.Phi.im|aimcM.stator.strayReluctance.port_p.Phi.re|// aimcM.stator.zeroInductor.i0|aimcM.is.1.|aimcM.is.2.|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aimcE.i_0_s|aimcE.idq_rr.1.|aimcE.idq_rr.2.|aimcE.idq_sr.1.|aimcE.idq_sr.2.|aimcE.is.1.|aimcE.is.2.|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.strayReluctance.port_p.Phi.im|aimcM.stator.strayReluctance.port_p.Phi.re|// aimcM.stator.zeroInductor.i0|aimcM.is.1.|aimcM.is.2.|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001295/0.001295, allocations: 180.9 kB / 17.01 MB, free: 5.125 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.516/1.516, allocations: 205.4 MB / 223.1 MB, free: 9.117 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.0008535/0.0008536, allocations: 96.05 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000286/0.000286, allocations: 8 kB / 328.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2377, allocations: 47.57 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1353/0.3731, allocations: 122.2 MB / 498.1 MB, free: 6.328 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.3734, allocations: 95.88 kB / 498.2 MB, free: 6.234 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4498/0.8232, allocations: 117.4 MB / 0.6012 GB, free: 15.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.8232, allocations: 4 kB / 0.6012 GB, free: 15.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0006219/0.8239, allocations: 135.8 kB / 0.6013 GB, free: 15.81 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: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.01937/0.8433, allocations: 5.424 MB / 0.6066 GB, free: 10.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.949e-05/0.8433, allocations: 8.031 kB / 0.6066 GB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006605/0.8499, allocations: 1 MB / 0.6076 GB, free: 9.289 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01514/0.8651, allocations: 4.633 MB / 0.6121 GB, free: 4.578 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004507/0.8656, allocations: 382.3 kB / 0.6125 GB, free: 4.203 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002389/0.868, allocations: 0.5076 MB / 0.613 GB, free: 3.695 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01984/0.8879, allocations: 6.842 MB / 0.6196 GB, free: 12.65 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003304/0.8883, allocations: 15.89 kB / 0.6197 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00174/0.89, allocations: 223.9 kB / 0.6199 GB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002685/0.8903, allocations: 226.2 kB / 0.6201 GB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01356/0.9039, allocations: 5.6 MB / 0.6256 GB, free: 6.586 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04533/0.9492, allocations: 21.44 MB / 0.6465 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2517/1.201, allocations: 8.756 MB / 0.655 GB, free: 54.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009764/1.211, allocations: 5.208 MB / 0.6601 GB, free: 53.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/1.211, allocations: 60.03 kB / 0.6602 GB, free: 53.42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=230): time 3.988e-06/1.211, allocations: 0 / 0.6602 GB, free: 53.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=249): time 0.02091/1.232, allocations: 11.58 MB / 0.6715 GB, free: 51.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.043e-05/1.232, allocations: 79.31 kB / 0.6716 GB, free: 51.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005325/1.237, allocations: 2.612 MB / 0.6741 GB, free: 51.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004119/1.238, allocations: 69.83 kB / 0.6742 GB, free: 51.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001607/1.239, allocations: 2.281 MB / 0.6764 GB, free: 50.51 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006867/1.24, allocations: 0.8469 MB / 0.6772 GB, free: 49.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/1.24, allocations: 56.72 kB / 0.6773 GB, free: 49.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001607/1.24, allocations: 423.4 kB / 0.6777 GB, free: 49.67 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002291/1.243, allocations: 1.389 MB / 0.6791 GB, free: 49.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002191/1.245, allocations: 2.125 MB / 0.6811 GB, free: 48.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002387/1.247, allocations: 1.744 MB / 0.6828 GB, free: 48.78 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/1.247, allocations: 7.5 kB / 0.6828 GB, free: 48.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.008469/1.256, allocations: 4.714 MB / 0.6874 GB, free: 48.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.407e-05/1.256, allocations: 21.33 kB / 0.6875 GB, free: 48.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.516e-05/1.256, allocations: 22.91 kB / 0.6875 GB, free: 48.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001893/1.258, allocations: 0.7534 MB / 0.6882 GB, free: 48.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002457/1.26, allocations: 0.6594 MB / 0.6889 GB, free: 48.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/1.271, allocations: 13.57 MB / 0.7021 GB, free: 39.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003274/1.274, allocations: 163.1 kB / 0.7023 GB, free: 39.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002357/1.274, allocations: 120.3 kB / 0.7024 GB, free: 39.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (330): * Single equations (assignments): 320 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(2,100.0%) 12,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003567/1.278, allocations: 1.606 MB / 0.704 GB, free: 39.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006504/1.278, allocations: 325.2 kB / 0.7043 GB, free: 38.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006438/1.285, allocations: 4.32 MB / 0.7085 GB, free: 37.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/1.285, allocations: 25.12 kB / 0.7085 GB, free: 37.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/1.285, allocations: 13.83 kB / 0.7085 GB, free: 37.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.889e-05/1.285, allocations: 10.73 kB / 0.7085 GB, free: 37.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01357/1.298, allocations: 9.32 MB / 0.7176 GB, free: 33.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/1.298, allocations: 3.594 kB / 0.7176 GB, free: 33.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001673/1.3, allocations: 411.1 kB / 0.718 GB, free: 33.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002213/1.302, allocations: 0.9176 MB / 0.7189 GB, free: 32.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001785/1.303, allocations: 67.28 kB / 0.719 GB, free: 32.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01303/1.316, allocations: 16.81 MB / 0.7354 GB, free: 19.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/1.316, allocations: 9.469 kB / 0.7354 GB, free: 19.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00901/1.325, allocations: 6.58 MB / 0.7418 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002158/1.327, allocations: 0.7174 MB / 0.7425 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004218/1.327, allocations: 58.5 kB / 0.7426 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001518/1.329, allocations: 145.5 kB / 0.7427 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004736/1.329, allocations: 206.2 kB / 0.7429 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001544/1.329, allocations: 71.64 kB / 0.743 GB, free: 15.37 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003029/1.332, allocations: 1.99 MB / 0.7449 GB, free: 14.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/1.332, allocations: 0 / 0.7449 GB, free: 14.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004384/1.337, allocations: 1.028 MB / 0.7459 GB, free: 14.51 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.stator.zeroInductor.i0,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimcE.inertiaRotor.w,aimcE.i_0_s,aimcE.idq_sr[1],aimcE.idq_sr[2],aimcE.idq_rr[1],aimcE.idq_rr[2],quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (190): * Single equations (assignments): 181 * 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: 8 * 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: 8 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(1,100.0%) 1,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009031/1.338, allocations: 445.4 kB / 0.7464 GB, free: 14.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006859/1.345, allocations: 4.667 MB / 0.7509 GB, free: 12.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/1.345, allocations: 3.562 kB / 0.7509 GB, free: 12.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004077/1.349, allocations: 3.119 MB / 0.754 GB, free: 9.555 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00408/1.353, allocations: 0.8384 MB / 0.7548 GB, free: 8.934 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01832/1.371, allocations: 11.93 MB / 0.7664 GB, free: 14.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003885/1.375, allocations: 3.522 MB / 0.7699 GB, free: 11.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003352/1.379, allocations: 0.7769 MB / 0.7706 GB, free: 10.86 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006798/1.379, allocations: 214.7 kB / 0.7708 GB, free: 10.66 MB / 426.7 MB Notification: Performance of SimCode: time 1.563e-06/1.379, allocations: 0 / 0.7708 GB, free: 10.66 MB / 426.7 MB Notification: Performance of Templates: time 0.3146/1.694, allocations: 50.9 MB / 0.8206 GB, free: 80.82 MB / 442.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_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_DOL/AIMC_DOL.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches