Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 109 kB / 17.06 MB, free: 6.023 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.001675/0.001675, allocations: 191 kB / 17.99 MB, free: 5.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 43.94 kB / 351.3 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3901, allocations: 49.44 MB / 400.8 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03375/0.4239, allocations: 32.85 MB / 433.6 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0231/0.4471, allocations: 8.971 MB / 442.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008978/0.4561, allocations: 235.2 kB / 442.8 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02074/0.4769, allocations: 7.951 MB / 450.8 MB, free: 6.68 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01502/0.492, allocations: 3.655 MB / 454.4 MB, free: 3.012 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00819/0.5002, allocations: 2.097 MB / 456.5 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02228/0.5225, allocations: 13 MB / 469.5 MB, free: 3.883 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04285/0.5654, allocations: 22.49 MB / 492 MB, free: 13.23 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01377/0.5792, allocations: 6.573 MB / 498.6 MB, free: 6.637 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01547/0.5947, allocations: 7.214 MB / 0.4939 GB, free: 15.4 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008329/0.6031, allocations: 1.883 MB / 0.4958 GB, free: 13.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009696/0.6128, allocations: 2.238 MB / 0.498 GB, free: 11.28 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007483/0.6203, allocations: 3.749 MB / 0.5016 GB, free: 7.52 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01754/0.6379, allocations: 7.101 MB / 0.5085 GB, free: 400 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03628/0.6742, allocations: 25 MB / 0.533 GB, free: 7.32 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.6743, allocations: 0 / 0.533 GB, free: 7.32 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.6743, allocations: 0 / 0.533 GB, free: 7.32 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0007402/0.675, allocations: 4 kB / 0.533 GB, free: 7.316 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.5041/1.179, allocations: 14.57 MB / 0.5472 GB, free: 114 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/1.179, allocations: 11.88 kB / 0.5472 GB, free: 114 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03863/1.218, allocations: 6.799 MB / 0.5538 GB, free: 111 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01734/1.235, allocations: 8.07 MB / 0.5617 GB, free: 104.7 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008147/1.236, allocations: 0.7901 MB / 0.5625 GB, free: 103.9 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006251/1.242, allocations: 1.05 MB / 0.5635 GB, free: 102.9 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04667/1.289, allocations: 17.22 MB / 0.5803 GB, free: 85.6 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005989/1.29, allocations: 19.28 kB / 0.5804 GB, free: 85.59 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00424/1.294, allocations: 439.2 kB / 0.5808 GB, free: 85.17 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006194/1.295, allocations: 0.6313 MB / 0.5814 GB, free: 84.53 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03166/1.326, allocations: 16.31 MB / 0.5973 GB, free: 68.2 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0888/1.415, allocations: 55.14 MB / 0.6512 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0294/1.444, allocations: 31.08 MB / 0.6815 GB, free: 9.348 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008513/1.453, allocations: 4.304 MB / 0.6857 GB, free: 5.043 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02307/1.476, allocations: 10.42 MB / 0.6959 GB, free: 10.55 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.562e-05/1.476, allocations: 77.81 kB / 0.696 GB, free: 10.46 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=398): time 7.454e-06/1.476, allocations: 0 / 0.696 GB, free: 10.46 MB / 0.4982 GB Notification: Performance of matching and sorting (n=423): time 0.05265/1.529, allocations: 21.58 MB / 0.717 GB, free: 4.488 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.021e-05/1.529, allocations: 120.7 kB / 0.7172 GB, free: 4.352 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008442/1.538, allocations: 4.677 MB / 0.7217 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008062/1.538, allocations: 93.7 kB / 0.7218 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003184/1.542, allocations: 4.658 MB / 0.7264 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001941/1.543, allocations: 1.444 MB / 0.7278 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001901/1.545, allocations: 1.132 MB / 0.7289 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.875e-05/1.546, allocations: 309 kB / 0.7292 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004594/1.55, allocations: 2.908 MB / 0.732 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005953/1.556, allocations: 4.949 MB / 0.7368 GB, free: 15.14 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01099/1.567, allocations: 8.334 MB / 0.745 GB, free: 5.871 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.594e-05/1.567, allocations: 20 kB / 0.745 GB, free: 5.852 MB / 0.545 GB Notification: Performance of matching and sorting (n=764) (initialization): time 0.2677/1.835, allocations: 9.73 MB / 0.7545 GB, free: 188.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.681e-05/1.835, allocations: 31.47 kB / 0.7545 GB, free: 188.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001077/1.835, allocations: 63.16 kB / 0.7546 GB, free: 188.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004145/1.839, allocations: 1.653 MB / 0.7562 GB, free: 188.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004968/1.844, allocations: 1.318 MB / 0.7575 GB, free: 188.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02018/1.864, allocations: 17.75 MB / 0.7748 GB, free: 177.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005206/1.87, allocations: 327.8 kB / 0.7751 GB, free: 177.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001018/1.871, allocations: 283 kB / 0.7754 GB, free: 177.5 MB / 0.545 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.006259/1.877, allocations: 3.883 MB / 0.7792 GB, free: 175.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001258/1.878, allocations: 496.7 kB / 0.7797 GB, free: 175.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01279/1.891, allocations: 7.787 MB / 0.7873 GB, free: 172.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.894e-05/1.891, allocations: 43.19 kB / 0.7873 GB, free: 172.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.001e-05/1.891, allocations: 21.72 kB / 0.7873 GB, free: 172.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.225e-05/1.891, allocations: 19.03 kB / 0.7874 GB, free: 172.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02549/1.917, allocations: 17.46 MB / 0.8044 GB, free: 159.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.787e-05/1.917, allocations: 11.94 kB / 0.8044 GB, free: 159.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003087/1.92, allocations: 0.7216 MB / 0.8051 GB, free: 158.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003949/1.924, allocations: 1.551 MB / 0.8066 GB, free: 157.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006414/1.925, allocations: 104 kB / 0.8067 GB, free: 157.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01848/1.943, allocations: 21.21 MB / 0.8275 GB, free: 135.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/1.943, allocations: 11.94 kB / 0.8275 GB, free: 135.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01545/1.959, allocations: 11.45 MB / 0.8386 GB, free: 123.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002863/1.961, allocations: 1.142 MB / 0.8398 GB, free: 122.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001043/1.962, allocations: 95.98 kB / 0.8399 GB, free: 122.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002762/1.965, allocations: 231.7 kB / 0.8401 GB, free: 122.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007659/1.966, allocations: 331.3 kB / 0.8404 GB, free: 122.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002639/1.966, allocations: 128 kB / 0.8405 GB, free: 122 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004259/1.971, allocations: 3.169 MB / 0.8436 GB, free: 118.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.31e-07/1.971, allocations: 0 / 0.8436 GB, free: 118.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007386/1.978, allocations: 1.862 MB / 0.8454 GB, free: 116.9 MB / 0.545 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.000838/1.979, allocations: 288.3 kB / 0.8457 GB, free: 116.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01249/1.991, allocations: 8.131 MB / 0.8536 GB, free: 108.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.421e-05/1.991, allocations: 5.875 kB / 0.8536 GB, free: 108.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0074/1.999, allocations: 4.643 MB / 0.8582 GB, free: 103.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008455/2.007, allocations: 1.309 MB / 0.8595 GB, free: 102.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03697/2.044, allocations: 19.09 MB / 0.8781 GB, free: 83.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007826/2.052, allocations: 6.768 MB / 0.8847 GB, free: 76.49 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005071/2.057, allocations: 1.853 MB / 0.8865 GB, free: 74.63 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/2.058, allocations: 379.4 kB / 0.8869 GB, free: 74.26 MB / 0.545 GB Notification: Performance of SimCode: time 1.182e-06/2.058, allocations: 0 / 0.8869 GB, free: 74.26 MB / 0.545 GB Notification: Performance of Templates: time 0.3577/2.416, allocations: 80.94 MB / 0.9659 GB, free: 176.8 MB / 0.545 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches