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.001315/0.001316, allocations: 114.3 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001451/0.001451, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2106, allocations: 50.53 MB / 410 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03296/0.2436, allocations: 33.5 MB / 443.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01725/0.2609, allocations: 9.234 MB / 452.7 MB, free: 6.688 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00572/0.2666, allocations: 247.2 kB / 452.9 MB, free: 6.445 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0181/0.2848, allocations: 7.962 MB / 460.9 MB, free: 14.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01063/0.2954, allocations: 3.666 MB / 464.6 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005725/0.3012, allocations: 2.142 MB / 466.7 MB, free: 8.645 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01483/0.316, allocations: 13.13 MB / 479.8 MB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03118/0.3472, allocations: 22.48 MB / 0.4906 GB, free: 4.828 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009387/0.3567, allocations: 6.596 MB / 0.497 GB, free: 14.21 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01061/0.3673, allocations: 7.378 MB / 0.5042 GB, free: 6.812 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004285/0.3716, allocations: 1.883 MB / 0.506 GB, free: 4.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005917/0.3775, allocations: 2.265 MB / 0.5083 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00495/0.3825, allocations: 3.749 MB / 0.5119 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01118/0.3937, allocations: 7.113 MB / 0.5189 GB, free: 7.766 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3893/0.783, allocations: 25.04 MB / 0.5433 GB, free: 52.94 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.783, allocations: 0.5625 kB / 0.5433 GB, free: 52.94 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.783, allocations: 0 / 0.5433 GB, free: 52.94 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005161/0.7836, allocations: 2.688 kB / 0.5433 GB, free: 52.94 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.03726/0.8208, allocations: 14.62 MB / 0.5576 GB, free: 49.24 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.8209, allocations: 13.03 kB / 0.5576 GB, free: 49.24 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03789/0.8588, allocations: 6.843 MB / 0.5643 GB, free: 48.6 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01497/0.8738, allocations: 8.112 MB / 0.5722 GB, free: 47.49 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004884/0.8743, allocations: 0.7974 MB / 0.573 GB, free: 47.46 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003202/0.8775, allocations: 1.043 MB / 0.574 GB, free: 47.45 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03333/0.9108, allocations: 17.22 MB / 0.5908 GB, free: 34.7 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005069/0.9114, allocations: 23.45 kB / 0.5908 GB, free: 34.68 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003122/0.9145, allocations: 437 kB / 0.5913 GB, free: 34.27 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005/0.915, allocations: 0.6314 MB / 0.5919 GB, free: 33.63 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02804/0.9431, allocations: 16.3 MB / 0.6078 GB, free: 17.31 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08754/1.031, allocations: 56.31 MB / 0.6628 GB, free: 8.426 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02788/1.059, allocations: 31.4 MB / 0.6934 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007386/1.066, allocations: 4.338 MB / 0.6977 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0207/1.087, allocations: 10.71 MB / 0.7081 GB, free: 6.293 MB / 0.5451 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.89e-05/1.087, allocations: 73.81 kB / 0.7082 GB, free: 6.211 MB / 0.5451 GB Notification: Performance of pre-optimization done (n=398): time 5.58e-06/1.087, allocations: 0 / 0.7082 GB, free: 6.211 MB / 0.5451 GB Notification: Performance of matching and sorting (n=423): time 0.04686/1.134, allocations: 21.56 MB / 0.7293 GB, free: 360 kB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/1.134, allocations: 120.7 kB / 0.7294 GB, free: 220 kB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007494/1.141, allocations: 4.707 MB / 0.734 GB, free: 11.5 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0005375/1.142, allocations: 93.7 kB / 0.7341 GB, free: 11.4 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.002956/1.145, allocations: 4.679 MB / 0.7386 GB, free: 6.695 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001412/1.146, allocations: 1.442 MB / 0.74 GB, free: 5.266 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002225/1.148, allocations: 1.136 MB / 0.7412 GB, free: 4.117 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 8.377e-05/1.149, allocations: 305.1 kB / 0.7414 GB, free: 3.816 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004482/1.153, allocations: 2.908 MB / 0.7443 GB, free: 0.9023 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005743/1.159, allocations: 4.942 MB / 0.7491 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01062/1.169, allocations: 8.342 MB / 0.7573 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.65e-05/1.17, allocations: 20 kB / 0.7573 GB, free: 2.031 MB / 0.5919 GB Notification: Performance of matching and sorting (n=764) (initialization): time 0.218/1.388, allocations: 9.725 MB / 0.7668 GB, free: 231.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.368e-05/1.388, allocations: 38.44 kB / 0.7668 GB, free: 231.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.59e-05/1.388, allocations: 67.25 kB / 0.7669 GB, free: 231.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004081/1.392, allocations: 1.651 MB / 0.7685 GB, free: 230.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004482/1.396, allocations: 1.318 MB / 0.7698 GB, free: 230.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01865/1.415, allocations: 17.75 MB / 0.7871 GB, free: 219.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004386/1.419, allocations: 336 kB / 0.7874 GB, free: 219.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005911/1.42, allocations: 278.1 kB / 0.7877 GB, free: 219.5 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.004748/1.425, allocations: 3.899 MB / 0.7915 GB, free: 217.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009285/1.426, allocations: 0.4895 MB / 0.792 GB, free: 217.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01128/1.437, allocations: 7.784 MB / 0.7996 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.738e-05/1.437, allocations: 26.91 kB / 0.7996 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/1.437, allocations: 0 / 0.7996 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002464/1.44, allocations: 1.131 MB / 0.8007 GB, free: 213.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001035/1.441, allocations: 79.62 kB / 0.8008 GB, free: 213.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002695/1.443, allocations: 223.4 kB / 0.801 GB, free: 213.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005515/1.444, allocations: 352.9 kB / 0.8013 GB, free: 213.5 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01206/1.456, allocations: 7.47 MB / 0.8086 GB, free: 207.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01033/1.466, allocations: 8.867 MB / 0.8173 GB, free: 199.9 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002978/1.469, allocations: 2.728 MB / 0.82 GB, free: 197.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004752/1.474, allocations: 3.194 MB / 0.8231 GB, free: 194.1 MB / 0.5919 GB Notification: Performance of Backend: time 5.01e-07/1.474, allocations: 1.422 kB / 0.8231 GB, free: 194.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01147/1.486, allocations: 6.107 MB / 0.829 GB, free: 188 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02841/1.514, allocations: 18.66 MB / 0.8473 GB, free: 169.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.1269/1.641, allocations: 94.4 MB / 0.9394 GB, free: 75.68 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)