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.001262/0.001262, allocations: 108.7 kB / 17.74 MB, free: 5.336 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.001255/0.001256, allocations: 190.9 kB / 18.68 MB, free: 4.41 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.3/1.3, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009603/0.0009603, allocations: 47.94 kB / 352 MB, free: 3.176 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2111, allocations: 49.43 MB / 401.5 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03167/0.2428, allocations: 32.85 MB / 434.3 MB, free: 7.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01471/0.2576, allocations: 8.969 MB / 443.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003732/0.2613, allocations: 239.2 kB / 443.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0162/0.2775, allocations: 8.009 MB / 451.5 MB, free: 6.57 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00878/0.2863, allocations: 3.733 MB / 455.3 MB, free: 2.824 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004638/0.291, allocations: 2.097 MB / 457.4 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01308/0.304, allocations: 13 MB / 470.4 MB, free: 3.691 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02663/0.3307, allocations: 22.48 MB / 492.8 MB, free: 13.04 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007395/0.3381, allocations: 6.584 MB / 499.4 MB, free: 6.438 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008042/0.3462, allocations: 7.202 MB / 0.4947 GB, free: 15.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002194/0.3484, allocations: 1.887 MB / 0.4966 GB, free: 13.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003418/0.3518, allocations: 2.242 MB / 0.4988 GB, free: 11.08 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002902/0.3547, allocations: 3.756 MB / 0.5024 GB, free: 7.316 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006631/0.3614, allocations: 7.094 MB / 0.5094 GB, free: 200 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02001/0.3814, allocations: 25 MB / 0.5338 GB, free: 7.125 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3814, allocations: 0 / 0.5338 GB, free: 7.125 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.247e-06/0.3814, allocations: 0 / 0.5338 GB, free: 7.125 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003174/0.3817, allocations: 3.938 kB / 0.5338 GB, free: 7.121 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.3397/0.7214, allocations: 14.56 MB / 0.548 GB, free: 114.1 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.7215, allocations: 7.875 kB / 0.548 GB, free: 114.1 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0361/0.7576, allocations: 6.804 MB / 0.5547 GB, free: 111 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01232/0.7699, allocations: 8.071 MB / 0.5625 GB, free: 104.5 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003206/0.7703, allocations: 0.7902 MB / 0.5633 GB, free: 103.8 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001505/0.7718, allocations: 1.054 MB / 0.5643 GB, free: 102.7 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02231/0.7941, allocations: 17.22 MB / 0.5812 GB, free: 85.46 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001916/0.7943, allocations: 11.91 kB / 0.5812 GB, free: 85.45 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001075/0.7954, allocations: 450.9 kB / 0.5816 GB, free: 85.02 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004022/0.7958, allocations: 0.6275 MB / 0.5822 GB, free: 84.39 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02054/0.8164, allocations: 16.3 MB / 0.5981 GB, free: 68.05 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05835/0.8747, allocations: 55.14 MB / 0.652 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02368/0.8984, allocations: 31.08 MB / 0.6823 GB, free: 9.199 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005978/0.9044, allocations: 4.31 MB / 0.6865 GB, free: 4.887 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01719/0.9217, allocations: 10.42 MB / 0.6967 GB, free: 10.37 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.323e-05/0.9217, allocations: 73.81 kB / 0.6968 GB, free: 10.29 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=398): time 5.089e-06/0.9217, allocations: 0 / 0.6968 GB, free: 10.29 MB / 0.4982 GB Notification: Performance of matching and sorting (n=423): time 0.04375/0.9655, allocations: 21.57 MB / 0.7179 GB, free: 4.316 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.9656, allocations: 120.7 kB / 0.718 GB, free: 4.18 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006569/0.9722, allocations: 4.681 MB / 0.7225 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002844/0.9724, allocations: 93.7 kB / 0.7226 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002848/0.9753, allocations: 4.658 MB / 0.7272 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001082/0.9764, allocations: 1.448 MB / 0.7286 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001737/0.9781, allocations: 1.132 MB / 0.7297 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.329e-05/0.9782, allocations: 301.1 kB / 0.73 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004351/0.9826, allocations: 2.908 MB / 0.7328 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005588/0.9882, allocations: 4.945 MB / 0.7377 GB, free: 14.98 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0104/0.9986, allocations: 8.349 MB / 0.7458 GB, free: 5.688 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-05/0.9986, allocations: 20 kB / 0.7458 GB, free: 5.668 MB / 0.545 GB Notification: Performance of matching and sorting (n=764) (initialization): time 0.2097/1.208, allocations: 9.722 MB / 0.7553 GB, free: 188.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.491e-05/1.208, allocations: 35.47 kB / 0.7554 GB, free: 188.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.98e-05/1.209, allocations: 63.16 kB / 0.7554 GB, free: 188.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00411/1.213, allocations: 1.649 MB / 0.757 GB, free: 188.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004496/1.217, allocations: 1.321 MB / 0.7583 GB, free: 188.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01887/1.236, allocations: 17.75 MB / 0.7756 GB, free: 177.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003928/1.24, allocations: 324.3 kB / 0.776 GB, free: 177.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003818/1.24, allocations: 291.5 kB / 0.7762 GB, free: 177.6 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.004621/1.245, allocations: 3.885 MB / 0.78 GB, free: 175.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007516/1.246, allocations: 493.9 kB / 0.7805 GB, free: 175.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/1.257, allocations: 7.783 MB / 0.7881 GB, free: 172.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-05/1.258, allocations: 23.53 kB / 0.7881 GB, free: 172.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/1.258, allocations: 3 kB / 0.7881 GB, free: 172.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001774/1.259, allocations: 1.126 MB / 0.7892 GB, free: 171.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006567/1.26, allocations: 87.03 kB / 0.7893 GB, free: 171.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002405/1.262, allocations: 218.8 kB / 0.7895 GB, free: 171.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005746/1.263, allocations: 353.9 kB / 0.7899 GB, free: 171.7 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01208/1.275, allocations: 7.471 MB / 0.7972 GB, free: 167.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009737/1.285, allocations: 8.864 MB / 0.8058 GB, free: 159.4 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00273/1.288, allocations: 2.727 MB / 0.8085 GB, free: 156.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003484/1.291, allocations: 3.169 MB / 0.8116 GB, free: 153.5 MB / 0.545 GB Notification: Performance of Backend: time 2.71e-07/1.291, allocations: 4 kB / 0.8116 GB, free: 153.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009634/1.301, allocations: 6.09 MB / 0.8175 GB, free: 147.4 MB / 0.545 GB Notification: Performance of SimCode: time 0.02246/1.323, allocations: 18.63 MB / 0.8357 GB, free: 128.8 MB / 0.545 GB Notification: Performance of Templates: time 0.1157/1.439, allocations: 93.97 MB / 0.9275 GB, free: 35.6 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)