Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=300000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.port_p.V_m.im|imc.stator.port_p.V_m.re|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=300000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.port_p.V_m.im|imc.stator.port_p.V_m.re|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001364/0.001364, allocations: 122.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001581/0.001581, allocations: 205.2 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 59.91 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2351, allocations: 50.55 MB / 409.3 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03371/0.2689, allocations: 33.49 MB / 442.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01787/0.2868, allocations: 9.242 MB / 452 MB, free: 6.68 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005138/0.2919, allocations: 247.1 kB / 452.3 MB, free: 6.438 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01764/0.3096, allocations: 8.032 MB / 460.3 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01108/0.3207, allocations: 3.733 MB / 464 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00628/0.327, allocations: 2.144 MB / 466.2 MB, free: 8.496 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01709/0.3441, allocations: 13.14 MB / 479.3 MB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03399/0.3781, allocations: 22.49 MB / 0.49 GB, free: 4.664 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009685/0.3879, allocations: 6.592 MB / 0.4965 GB, free: 14.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01334/0.4012, allocations: 7.378 MB / 0.5037 GB, free: 6.652 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007141/0.4084, allocations: 1.883 MB / 0.5055 GB, free: 4.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009074/0.4175, allocations: 2.269 MB / 0.5077 GB, free: 2.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00672/0.4243, allocations: 3.745 MB / 0.5114 GB, free: 14.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01432/0.4387, allocations: 7.113 MB / 0.5183 GB, free: 7.605 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5064/0.9451, allocations: 25.04 MB / 0.5428 GB, free: 52.98 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.9452, allocations: 0.5 kB / 0.5428 GB, free: 52.98 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.9452, allocations: 2.188 kB / 0.5428 GB, free: 52.98 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006446/0.9458, allocations: 0.5 kB / 0.5428 GB, free: 52.98 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2952 * Number of variables: 2952 Notification: Performance of Generate backend data structure: time 0.04384/0.9897, allocations: 14.63 MB / 0.5571 GB, free: 49.28 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.9897, allocations: 9.438 kB / 0.5571 GB, free: 49.28 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03895/1.029, allocations: 6.837 MB / 0.5638 GB, free: 48.64 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02032/1.049, allocations: 8.122 MB / 0.5717 GB, free: 47.52 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005987/1.05, allocations: 0.7928 MB / 0.5725 GB, free: 47.5 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003791/1.054, allocations: 1.044 MB / 0.5735 GB, free: 47.49 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03901/1.093, allocations: 17.22 MB / 0.5903 GB, free: 34.73 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003866/1.093, allocations: 15.89 kB / 0.5903 GB, free: 34.71 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002918/1.096, allocations: 442.2 kB / 0.5907 GB, free: 34.29 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004809/1.096, allocations: 0.6293 MB / 0.5913 GB, free: 33.66 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03108/1.127, allocations: 16.3 MB / 0.6073 GB, free: 17.34 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1016/1.229, allocations: 56.31 MB / 0.6623 GB, free: 8.453 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02987/1.259, allocations: 31.41 MB / 0.6929 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007579/1.267, allocations: 4.333 MB / 0.6972 GB, free: 1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01911/1.286, allocations: 10.7 MB / 0.7076 GB, free: 6.32 MB / 0.5451 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.473e-05/1.286, allocations: 77.19 kB / 0.7077 GB, free: 6.238 MB / 0.5451 GB Notification: Performance of pre-optimization done (n=398): time 6.713e-06/1.286, allocations: 2.406 kB / 0.7077 GB, free: 6.238 MB / 0.5451 GB Notification: Performance of matching and sorting (n=423): time 0.0464/1.332, allocations: 21.56 MB / 0.7287 GB, free: 388 kB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.334e-05/1.332, allocations: 130.8 kB / 0.7289 GB, free: 244 kB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007655/1.34, allocations: 4.703 MB / 0.7334 GB, free: 11.53 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0007043/1.341, allocations: 97.7 kB / 0.7335 GB, free: 11.43 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.002888/1.344, allocations: 4.678 MB / 0.7381 GB, free: 6.719 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001561/1.345, allocations: 1.442 MB / 0.7395 GB, free: 5.289 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002331/1.348, allocations: 1.128 MB / 0.7406 GB, free: 4.148 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 8.548e-05/1.348, allocations: 305.1 kB / 0.7409 GB, free: 3.848 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004713/1.352, allocations: 2.905 MB / 0.7437 GB, free: 0.9375 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006292/1.359, allocations: 4.954 MB / 0.7486 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01291/1.372, allocations: 8.332 MB / 0.7567 GB, free: 2.082 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.066e-05/1.372, allocations: 20 kB / 0.7567 GB, free: 2.062 MB / 0.5919 GB Notification: Performance of matching and sorting (n=764) (initialization): time 0.2615/1.633, allocations: 9.735 MB / 0.7662 GB, free: 231.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.069e-05/1.633, allocations: 35.5 kB / 0.7663 GB, free: 231.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000114/1.634, allocations: 64.94 kB / 0.7663 GB, free: 231.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004273/1.638, allocations: 1.651 MB / 0.768 GB, free: 230.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004815/1.643, allocations: 1.318 MB / 0.7692 GB, free: 230.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01999/1.663, allocations: 17.75 MB / 0.7866 GB, free: 219.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005623/1.668, allocations: 336.4 kB / 0.7869 GB, free: 219.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001099/1.669, allocations: 284.2 kB / 0.7872 GB, free: 219.4 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 296 * 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 (671): * Single equations (assignments): 667 * 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 {(1,1,100.0%), (7,28,61.2%), (1,1,100.0%), (14,44,39.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006838/1.676, allocations: 3.891 MB / 0.791 GB, free: 217.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001342/1.678, allocations: 499.9 kB / 0.7915 GB, free: 217.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01238/1.69, allocations: 7.783 MB / 0.7991 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.027e-05/1.69, allocations: 52.08 kB / 0.7991 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.039e-05/1.69, allocations: 17.38 kB / 0.7991 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.398e-05/1.69, allocations: 26.36 kB / 0.7991 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02529/1.715, allocations: 17.45 MB / 0.8162 GB, free: 200.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.691e-05/1.716, allocations: 19.75 kB / 0.8162 GB, free: 200.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00291/1.718, allocations: 0.7255 MB / 0.8169 GB, free: 199.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003812/1.722, allocations: 1.548 MB / 0.8184 GB, free: 197.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003666/1.723, allocations: 104 kB / 0.8185 GB, free: 197.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01883/1.742, allocations: 21.21 MB / 0.8392 GB, free: 175.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.742, allocations: 8 kB / 0.8392 GB, free: 175.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01559/1.757, allocations: 11.46 MB / 0.8504 GB, free: 164.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002676/1.76, allocations: 1.151 MB / 0.8516 GB, free: 163.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008753/1.761, allocations: 89.36 kB / 0.8516 GB, free: 163.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0024/1.763, allocations: 231.9 kB / 0.8519 GB, free: 162.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007628/1.764, allocations: 331.2 kB / 0.8522 GB, free: 162.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002588/1.764, allocations: 128 kB / 0.8523 GB, free: 162.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004059/1.768, allocations: 3.19 MB / 0.8554 GB, free: 159.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.91e-07/1.768, allocations: 0 / 0.8554 GB, free: 159.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00634/1.775, allocations: 1.87 MB / 0.8572 GB, free: 157.4 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.stray.Phi.re,imc.stator.stray.Phi.im,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 (364): * Single equations (assignments): 357 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (14,44,41.3%), (2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,5,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006433/1.775, allocations: 277.8 kB / 0.8575 GB, free: 157.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01125/1.787, allocations: 8.153 MB / 0.8655 GB, free: 148.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/1.787, allocations: 0 / 0.8655 GB, free: 148.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006487/1.793, allocations: 4.644 MB / 0.87 GB, free: 144.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005655/1.799, allocations: 1.303 MB / 0.8713 GB, free: 142.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03059/1.829, allocations: 19.17 MB / 0.89 GB, free: 123.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00712/1.837, allocations: 6.782 MB / 0.8966 GB, free: 116.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00478/1.841, allocations: 1.865 MB / 0.8984 GB, free: 115 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001082/1.842, allocations: 375.4 kB / 0.8988 GB, free: 114.6 MB / 0.5919 GB Notification: Performance of SimCode: time 1.062e-06/1.842, allocations: 0 / 0.8988 GB, free: 114.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.1189/1.961, allocations: 81.26 MB / 0.9782 GB, free: 33.99 MB / 0.5919 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches