Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.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_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|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|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|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|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009406/0.0009406, allocations: 183.2 kB / 18.04 MB, free: 3.773 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.38/1.38, 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.000794/0.0007941, allocations: 89.48 kB / 272.5 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002744/0.0002745, allocations: 12 kB / 329.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1873, allocations: 47.58 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1104/0.2978, allocations: 109.9 MB / 487 MB, free: 2.547 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.298, allocations: 91.94 kB / 487.1 MB, free: 2.457 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3327/0.6307, allocations: 80.38 MB / 0.5541 GB, free: 63.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.6308, allocations: 0 / 0.5541 GB, free: 63.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002479/0.631, allocations: 79.88 kB / 0.5542 GB, free: 63.33 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: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.009754/0.6408, allocations: 3.478 MB / 0.5576 GB, free: 59.78 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.6408, allocations: 8.031 kB / 0.5576 GB, free: 59.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004182/0.645, allocations: 0.7383 MB / 0.5583 GB, free: 59.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005632/0.6507, allocations: 2.677 MB / 0.561 GB, free: 56.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002193/0.6509, allocations: 246.8 kB / 0.5612 GB, free: 56.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009283/0.6519, allocations: 328.2 kB / 0.5615 GB, free: 55.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007538/0.6594, allocations: 4.22 MB / 0.5656 GB, free: 51.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.121e-05/0.6595, allocations: 15.83 kB / 0.5656 GB, free: 51.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000291/0.6598, allocations: 140 kB / 0.5658 GB, free: 51.24 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001026/0.66, allocations: 150.4 kB / 0.5659 GB, free: 51.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005258/0.6652, allocations: 3.422 MB / 0.5693 GB, free: 47.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01703/0.6823, allocations: 13.91 MB / 0.5828 GB, free: 33.39 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004786/0.6871, allocations: 6.671 MB / 0.5894 GB, free: 25.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001878/0.689, allocations: 1.4 MB / 0.5907 GB, free: 24.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005923/0.6949, allocations: 3.835 MB / 0.5945 GB, free: 20.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.695, allocations: 43.88 kB / 0.5945 GB, free: 20.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=146): time 6.181e-06/0.695, allocations: 0 / 0.5945 GB, free: 20.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=149): time 0.01016/0.7052, allocations: 6.136 MB / 0.6005 GB, free: 14.15 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.7053, allocations: 68.72 kB / 0.6006 GB, free: 14.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00213/0.7074, allocations: 1.728 MB / 0.6023 GB, free: 12.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001467/0.7076, allocations: 49.7 kB / 0.6023 GB, free: 12.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006087/0.7082, allocations: 1.419 MB / 0.6037 GB, free: 10.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003352/0.7085, allocations: 0.5045 MB / 0.6042 GB, free: 10.33 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-05/0.7086, allocations: 36 kB / 0.6042 GB, free: 10.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.027e-05/0.7087, allocations: 381.9 kB / 0.6046 GB, free: 9.918 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/0.7097, allocations: 0.6949 MB / 0.6053 GB, free: 9.227 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/0.7109, allocations: 1.179 MB / 0.6064 GB, free: 7.848 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002234/0.7131, allocations: 2 MB / 0.6084 GB, free: 5.652 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.7132, allocations: 8 kB / 0.6084 GB, free: 5.645 MB / 378.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.003712/0.7169, allocations: 2.585 MB / 0.6109 GB, free: 3.012 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.7169, allocations: 8 kB / 0.6109 GB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.02e-05/0.7169, allocations: 16 kB / 0.6109 GB, free: 2.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008249/0.7178, allocations: 384.2 kB / 0.6113 GB, free: 2.598 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.7191, allocations: 391.4 kB / 0.6117 GB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00698/0.7261, allocations: 7.881 MB / 0.6194 GB, free: 9.797 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/0.7278, allocations: 84.08 kB / 0.6194 GB, free: 9.715 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/0.728, allocations: 71.94 kB / 0.6195 GB, free: 9.645 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (194): * Single equations (assignments): 189 * 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: 4 * 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: 4 {(1,100.0%) 1,(1,100.0%) 7,(3,100.0%) 9,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002002/0.73, allocations: 1.012 MB / 0.6205 GB, free: 8.621 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003324/0.7303, allocations: 189.7 kB / 0.6207 GB, free: 8.434 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004074/0.7344, allocations: 2.407 MB / 0.623 GB, free: 5.961 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/0.7344, allocations: 12 kB / 0.623 GB, free: 5.949 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.46e-05/0.7344, allocations: 11.94 kB / 0.6231 GB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.7345, allocations: 7.969 kB / 0.6231 GB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008383/0.7429, allocations: 5.266 MB / 0.6282 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.7429, allocations: 0 / 0.6282 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008629/0.7438, allocations: 195.8 kB / 0.6284 GB, free: 340 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00135/0.7451, allocations: 0.5517 MB / 0.6289 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/0.7452, allocations: 39.98 kB / 0.629 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01134/0.7566, allocations: 12.28 MB / 0.641 GB, free: 2.637 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.7566, allocations: 4.062 kB / 0.641 GB, free: 2.633 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1721/0.9288, allocations: 3.397 MB / 0.6443 GB, free: 90.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/0.9298, allocations: 437.8 kB / 0.6447 GB, free: 90.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002405/0.9301, allocations: 40.53 kB / 0.6447 GB, free: 90.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008692/0.931, allocations: 67.08 kB / 0.6448 GB, free: 90.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002753/0.9313, allocations: 118.8 kB / 0.6449 GB, free: 90.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.963e-05/0.9313, allocations: 46.05 kB / 0.645 GB, free: 90.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001548/0.9329, allocations: 1.173 MB / 0.6461 GB, free: 90.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.9329, allocations: 3.875 kB / 0.6461 GB, free: 90.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00204/0.935, allocations: 0.6253 MB / 0.6467 GB, free: 90.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 90 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 7,(3,100.0%) 9,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004888/0.9355, allocations: 362.2 kB / 0.6471 GB, free: 90.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002988/0.9385, allocations: 2.438 MB / 0.6494 GB, free: 89.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.9385, allocations: 0 / 0.6494 GB, free: 89.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002103/0.9406, allocations: 1.819 MB / 0.6512 GB, free: 89.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002627/0.9432, allocations: 0.5212 MB / 0.6517 GB, free: 89.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009276/0.9525, allocations: 7.195 MB / 0.6588 GB, free: 86.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001733/0.9543, allocations: 2.307 MB / 0.661 GB, free: 85.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0016/0.9559, allocations: 397.9 kB / 0.6614 GB, free: 85.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004229/0.9563, allocations: 126.4 kB / 0.6615 GB, free: 85.36 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.9563, allocations: 0.5625 kB / 0.6615 GB, free: 85.36 MB / 410.7 MB Notification: Performance of Templates: time 0.04859/1.005, allocations: 31.41 MB / 0.6922 GB, free: 83.09 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Steinmetz/AIMC_Steinmetz.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches