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.001268/0.001268, allocations: 114.2 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.001447/0.001447, 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.335/1.335, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 59.89 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.207, allocations: 50.54 MB / 410 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03182/0.2388, allocations: 33.49 MB / 443.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01587/0.2547, allocations: 9.25 MB / 452.7 MB, free: 6.691 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003872/0.2586, allocations: 243.2 kB / 453 MB, free: 6.453 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01642/0.275, allocations: 8.025 MB / 461 MB, free: 14.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009808/0.2849, allocations: 3.741 MB / 464.7 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005015/0.2899, allocations: 2.148 MB / 466.9 MB, free: 8.512 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01346/0.3034, allocations: 13.13 MB / 480 MB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02681/0.3302, allocations: 22.47 MB / 0.4907 GB, free: 4.695 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00742/0.3376, allocations: 6.596 MB / 0.4971 GB, free: 14.08 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008687/0.3463, allocations: 7.386 MB / 0.5043 GB, free: 6.672 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002321/0.3487, allocations: 1.883 MB / 0.5062 GB, free: 4.789 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003596/0.3523, allocations: 2.265 MB / 0.5084 GB, free: 2.523 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002878/0.3551, allocations: 3.745 MB / 0.5121 GB, free: 14.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007142/0.3623, allocations: 7.109 MB / 0.519 GB, free: 7.633 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.372/0.7343, allocations: 25.05 MB / 0.5435 GB, free: 52.96 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.7344, allocations: 0 / 0.5435 GB, free: 52.96 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.7344, allocations: 2.688 kB / 0.5435 GB, free: 52.96 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005798/0.735, allocations: 0 / 0.5435 GB, free: 52.96 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.03542/0.7704, allocations: 14.61 MB / 0.5577 GB, free: 49.27 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.7705, allocations: 12.91 kB / 0.5577 GB, free: 49.27 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03757/0.808, allocations: 6.841 MB / 0.5644 GB, free: 48.63 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01511/0.8232, allocations: 8.124 MB / 0.5724 GB, free: 47.51 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003948/0.8236, allocations: 0.7939 MB / 0.5731 GB, free: 47.48 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002463/0.8261, allocations: 1.047 MB / 0.5742 GB, free: 47.48 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02581/0.8519, allocations: 17.22 MB / 0.591 GB, free: 34.74 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001969/0.8521, allocations: 19.89 kB / 0.591 GB, free: 34.72 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001097/0.8532, allocations: 438.4 kB / 0.5914 GB, free: 34.31 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000399/0.8536, allocations: 0.6275 MB / 0.592 GB, free: 33.68 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02101/0.8746, allocations: 16.3 MB / 0.6079 GB, free: 17.35 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07443/0.9491, allocations: 56.31 MB / 0.6629 GB, free: 8.469 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02791/0.977, allocations: 31.4 MB / 0.6936 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007027/0.9841, allocations: 4.328 MB / 0.6978 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01917/1.003, allocations: 10.71 MB / 0.7083 GB, free: 6.336 MB / 0.5451 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.288e-05/1.003, allocations: 69.81 kB / 0.7083 GB, free: 6.258 MB / 0.5451 GB Notification: Performance of pre-optimization done (n=398): time 4.959e-06/1.003, allocations: 0 / 0.7083 GB, free: 6.258 MB / 0.5451 GB Notification: Performance of matching and sorting (n=423): time 0.04588/1.049, allocations: 21.57 MB / 0.7294 GB, free: 396 kB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.856e-05/1.049, allocations: 120.7 kB / 0.7295 GB, free: 256 kB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00715/1.056, allocations: 4.703 MB / 0.7341 GB, free: 11.54 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0002986/1.057, allocations: 93.7 kB / 0.7342 GB, free: 11.44 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.002971/1.06, allocations: 4.676 MB / 0.7388 GB, free: 6.738 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001131/1.061, allocations: 1.443 MB / 0.7402 GB, free: 5.305 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001771/1.063, allocations: 1.136 MB / 0.7413 GB, free: 4.156 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 8.129e-05/1.063, allocations: 301.1 kB / 0.7416 GB, free: 3.859 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004247/1.067, allocations: 2.905 MB / 0.7444 GB, free: 0.9492 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005604/1.073, allocations: 4.951 MB / 0.7493 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01012/1.083, allocations: 8.339 MB / 0.7574 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.513e-05/1.083, allocations: 20 kB / 0.7574 GB, free: 2.074 MB / 0.5919 GB Notification: Performance of matching and sorting (n=764) (initialization): time 0.2014/1.284, allocations: 9.727 MB / 0.7669 GB, free: 231.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.567e-05/1.284, allocations: 39.44 kB / 0.767 GB, free: 231.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.154e-05/1.284, allocations: 63.19 kB / 0.767 GB, free: 231.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004038/1.288, allocations: 1.655 MB / 0.7686 GB, free: 230.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004323/1.293, allocations: 1.317 MB / 0.7699 GB, free: 230.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01891/1.312, allocations: 17.75 MB / 0.7873 GB, free: 219.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003871/1.315, allocations: 338.2 kB / 0.7876 GB, free: 219.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000385/1.316, allocations: 281.8 kB / 0.7878 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.004638/1.321, allocations: 3.891 MB / 0.7916 GB, free: 217.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008158/1.321, allocations: 0.4945 MB / 0.7921 GB, free: 217.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01153/1.333, allocations: 7.781 MB / 0.7997 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.55e-05/1.333, allocations: 26.86 kB / 0.7998 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/1.333, allocations: 0 / 0.7998 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002175/1.335, allocations: 1.124 MB / 0.8008 GB, free: 213.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006525/1.336, allocations: 76.88 kB / 0.8009 GB, free: 213.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002393/1.338, allocations: 232.8 kB / 0.8011 GB, free: 213.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005622/1.339, allocations: 348.6 kB / 0.8015 GB, free: 213.5 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0122/1.351, allocations: 7.48 MB / 0.8088 GB, free: 207.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01012/1.361, allocations: 8.861 MB / 0.8174 GB, free: 199.9 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002755/1.364, allocations: 2.731 MB / 0.8201 GB, free: 197.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003695/1.368, allocations: 3.186 MB / 0.8232 GB, free: 194.2 MB / 0.5919 GB Notification: Performance of Backend: time 3.71e-07/1.368, allocations: 4 kB / 0.8232 GB, free: 194.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01018/1.378, allocations: 6.111 MB / 0.8292 GB, free: 188.1 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02542/1.403, allocations: 18.66 MB / 0.8474 GB, free: 169.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.1214/1.525, allocations: 94.41 MB / 0.9396 GB, free: 75.73 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)