Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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 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.strayReluctance.port_p.Phi.im|imc.stator.strayReluctance.port_p.Phi.re|// imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_3.2.3_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.strayReluctance.port_p.Phi.im|imc.stator.strayReluctance.port_p.Phi.re|// imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_3.2.3_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.001059/0.001059, allocations: 103.2 kB / 18.4 MB, free: 4.68 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.001017/0.001017, allocations: 191.3 kB / 19.34 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.249/1.249, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 48.39 kB / 329.2 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06876/0.06994, allocations: 46.62 MB / 375.9 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.1691/0.2391, allocations: 32.95 MB / 408.8 MB, free: 7.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0178/0.2569, allocations: 8.982 MB / 417.8 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004764/0.2617, allocations: 207.5 kB / 418 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01712/0.2789, allocations: 7.945 MB / 425.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01054/0.2894, allocations: 3.707 MB / 429.6 MB, free: 8.266 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004889/0.2943, allocations: 2.138 MB / 431.8 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01401/0.3083, allocations: 13.14 MB / 444.9 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0259/0.3343, allocations: 22.47 MB / 467.4 MB, free: 3.902 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008034/0.3423, allocations: 6.646 MB / 474.1 MB, free: 13.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00871/0.351, allocations: 7.311 MB / 481.4 MB, free: 5.902 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0026/0.3537, allocations: 1.891 MB / 483.3 MB, free: 4.012 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003918/0.3576, allocations: 2.25 MB / 485.5 MB, free: 1.762 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003004/0.3606, allocations: 3.815 MB / 489.3 MB, free: 13.94 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007522/0.3681, allocations: 7.183 MB / 496.5 MB, free: 6.727 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02199/0.3901, allocations: 25.07 MB / 0.5093 GB, free: 13.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3902, allocations: 0 / 0.5093 GB, free: 13.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3902, allocations: 0 / 0.5093 GB, free: 13.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003588/0.3905, allocations: 4 kB / 0.5093 GB, free: 13.58 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3009 * Number of variables: 3009 Notification: Performance of Generate backend data structure: time 0.0349/0.4255, allocations: 14.75 MB / 0.5237 GB, free: 14.72 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.4255, allocations: 12.03 kB / 0.5238 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04413/0.4696, allocations: 7.793 MB / 0.5314 GB, free: 6.895 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01307/0.4827, allocations: 7.343 MB / 0.5385 GB, free: 15.47 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005497/0.4833, allocations: 0.7988 MB / 0.5393 GB, free: 14.67 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001974/0.4853, allocations: 1.066 MB / 0.5404 GB, free: 13.61 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3146/0.7999, allocations: 17.67 MB / 0.5576 GB, free: 130.1 MB / 478.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002588/0.8002, allocations: 17.61 kB / 0.5576 GB, free: 130.1 MB / 478.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001155/0.8014, allocations: 446 kB / 0.5581 GB, free: 130.1 MB / 478.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005987/0.802, allocations: 0.6685 MB / 0.5587 GB, free: 130.1 MB / 478.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02794/0.8299, allocations: 16.98 MB / 0.5753 GB, free: 123.7 MB / 478.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06774/0.8977, allocations: 56.48 MB / 0.6305 GB, free: 80.48 MB / 478.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02404/0.9218, allocations: 40.05 MB / 0.6696 GB, free: 35.5 MB / 478.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005535/0.9273, allocations: 4.474 MB / 0.6739 GB, free: 31.03 MB / 478.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0166/0.944, allocations: 12.67 MB / 0.6863 GB, free: 18.37 MB / 478.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/0.944, allocations: 77.81 kB / 0.6864 GB, free: 18.28 MB / 478.2 MB Notification: Performance of pre-optimization done (n=398): time 6.612e-06/0.944, allocations: 0 / 0.6864 GB, free: 18.28 MB / 478.2 MB Notification: Performance of matching and sorting (n=423): time 0.03816/0.9822, allocations: 21.46 MB / 0.7073 GB, free: 12.45 MB / 494.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.091e-05/0.9823, allocations: 124.7 kB / 0.7074 GB, free: 12.31 MB / 494.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006256/0.9886, allocations: 4.824 MB / 0.7122 GB, free: 7.48 MB / 494.2 MB Notification: Performance of collectPreVariables (initialization): time 0.0003322/0.9889, allocations: 97.7 kB / 0.7123 GB, free: 7.379 MB / 494.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.002902/0.9918, allocations: 4.796 MB / 0.7169 GB, free: 2.551 MB / 494.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.001138/0.993, allocations: 1.457 MB / 0.7184 GB, free: 1.105 MB / 494.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001821/0.9948, allocations: 1.198 MB / 0.7195 GB, free: 15.9 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 8.703e-05/0.9949, allocations: 301.1 kB / 0.7198 GB, free: 15.61 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004382/0.9993, allocations: 2.964 MB / 0.7227 GB, free: 12.64 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00584/1.005, allocations: 5.244 MB / 0.7278 GB, free: 6.355 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01108/1.016, allocations: 8.725 MB / 0.7364 GB, free: 12.57 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.114e-05/1.016, allocations: 24 kB / 0.7364 GB, free: 12.55 MB / 0.5138 GB Notification: Performance of matching and sorting (n=803) (initialization): time 0.01652/1.033, allocations: 10.03 MB / 0.7462 GB, free: 2.461 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 5.024e-05/1.033, allocations: 36 kB / 0.7462 GB, free: 2.426 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.063e-05/1.033, allocations: 75.98 kB / 0.7463 GB, free: 2.352 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004447/1.037, allocations: 1.678 MB / 0.7479 GB, free: 0.668 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1651/1.203, allocations: 1.393 MB / 0.7493 GB, free: 165.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02154/1.224, allocations: 17.76 MB / 0.7666 GB, free: 156 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004533/1.229, allocations: 344.5 kB / 0.7669 GB, free: 155.9 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004604/1.229, allocations: 303.4 kB / 0.7672 GB, free: 155.9 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * 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 (710): * Single equations (assignments): 706 * 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,67.3%), (1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005509/1.235, allocations: 3.948 MB / 0.7711 GB, free: 153.9 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008716/1.236, allocations: 0.4994 MB / 0.7716 GB, free: 153.9 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01245/1.248, allocations: 7.796 MB / 0.7792 GB, free: 150.6 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.699e-05/1.248, allocations: 23.69 kB / 0.7792 GB, free: 150.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/1.248, allocations: 0 / 0.7792 GB, free: 150.6 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00187/1.25, allocations: 1.14 MB / 0.7803 GB, free: 150.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005897/1.251, allocations: 76.5 kB / 0.7804 GB, free: 150.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002362/1.253, allocations: 230 kB / 0.7806 GB, free: 150 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005921/1.254, allocations: 345.4 kB / 0.7809 GB, free: 150 MB / 0.5138 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01212/1.266, allocations: 7.476 MB / 0.7883 GB, free: 147.3 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009931/1.276, allocations: 8.884 MB / 0.7969 GB, free: 143.7 MB / 0.5138 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00277/1.278, allocations: 2.732 MB / 0.7996 GB, free: 142.6 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.003737/1.282, allocations: 3.256 MB / 0.8028 GB, free: 141.4 MB / 0.5138 GB Notification: Performance of Backend: time 4.71e-07/1.282, allocations: 0 / 0.8028 GB, free: 141.4 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.009887/1.292, allocations: 6.202 MB / 0.8088 GB, free: 137.3 MB / 0.5138 GB Notification: Performance of SimCode: time 0.0243/1.316, allocations: 18.87 MB / 0.8273 GB, free: 120 MB / 0.5138 GB Notification: Performance of Templates: time 0.1248/1.441, allocations: 95.96 MB / 0.921 GB, free: 24.95 MB / 0.5138 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1)