Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001164/0.001164, allocations: 111.1 kB / 18.45 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.001228/0.001228, allocations: 211.9 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.299/1.299, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 59.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2053, allocations: 50.55 MB / 410 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01359/0.2189, allocations: 13.5 MB / 423.5 MB, free: 4 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00654/0.2255, allocations: 4.536 MB / 428 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007895/0.2263, allocations: 75.75 kB / 428.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001904/0.2282, allocations: 0.9979 MB / 429.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002353/0.2306, allocations: 1.273 MB / 430.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001573/0.2322, allocations: 0.8807 MB / 431.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003445/0.2356, allocations: 4.062 MB / 435.3 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003231/0.2389, allocations: 3.248 MB / 438.5 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001941/0.2408, allocations: 1.916 MB / 440.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002328/0.2431, allocations: 2.242 MB / 442.7 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005675/0.2437, allocations: 0.5117 MB / 443.2 MB, free: 136 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001106/0.2448, allocations: 0.7263 MB / 443.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008714/0.2457, allocations: 1.145 MB / 445.1 MB, free: 14.26 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00179/0.2475, allocations: 2.136 MB / 447.2 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005355/0.2529, allocations: 6.79 MB / 454 MB, free: 5.305 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2529, allocations: 0 / 454 MB, free: 5.305 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2529, allocations: 0 / 454 MB, free: 5.305 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.965e-05/0.253, allocations: 0 / 454 MB, free: 5.305 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.009075/0.262, allocations: 4.451 MB / 458.4 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.2621, allocations: 8.031 kB / 458.5 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00434/0.2664, allocations: 0.8398 MB / 459.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004033/0.2705, allocations: 2.495 MB / 461.8 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001567/0.2707, allocations: 238.6 kB / 462 MB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004367/0.2711, allocations: 319.8 kB / 462.3 MB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006183/0.2773, allocations: 4.254 MB / 466.6 MB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.515e-05/0.2774, allocations: 4 kB / 466.6 MB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002853/0.2777, allocations: 124 kB / 466.7 MB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001285/0.2778, allocations: 146.2 kB / 466.9 MB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005588/0.2834, allocations: 3.667 MB / 470.5 MB, free: 4.578 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01755/0.301, allocations: 13.41 MB / 483.9 MB, free: 6.801 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006118/0.3071, allocations: 6.889 MB / 490.8 MB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002143/0.3092, allocations: 1.411 MB / 492.2 MB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005375/0.3146, allocations: 3.873 MB / 496.1 MB, free: 9.586 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.3147, allocations: 51.56 kB / 496.2 MB, free: 9.523 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 2.815e-06/0.3147, allocations: 0 / 496.2 MB, free: 9.523 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01243/0.3271, allocations: 6.649 MB / 0.491 GB, free: 2.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.3272, allocations: 68.72 kB / 0.4911 GB, free: 2.598 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00234/0.3295, allocations: 1.884 MB / 0.4929 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.653e-05/0.3296, allocations: 61.64 kB / 0.493 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000923/0.3306, allocations: 1.443 MB / 0.4944 GB, free: 15.19 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003509/0.3309, allocations: 496.8 kB / 0.4949 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004596/0.3314, allocations: 307.3 kB / 0.4952 GB, free: 14.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.518e-05/0.3315, allocations: 301.1 kB / 0.4954 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001159/0.3326, allocations: 0.7613 MB / 0.4962 GB, free: 13.33 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001446/0.3341, allocations: 1.22 MB / 0.4974 GB, free: 11.92 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002735/0.3368, allocations: 2.115 MB / 0.4994 GB, free: 9.617 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.872e-06/0.3369, allocations: 4 kB / 0.4994 GB, free: 9.613 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004228/0.3411, allocations: 2.663 MB / 0.502 GB, free: 6.934 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.3411, allocations: 15.94 kB / 0.5021 GB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.3412, allocations: 16 kB / 0.5021 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001292/0.3425, allocations: 0.5018 MB / 0.5026 GB, free: 6.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/0.3439, allocations: 383.5 kB / 0.5029 GB, free: 6.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008028/0.352, allocations: 6.91 MB / 0.5097 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/0.353, allocations: 79.86 kB / 0.5098 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/0.3532, allocations: 84.05 kB / 0.5098 GB, free: 14.67 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (180): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (8,30,56.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001422/0.3546, allocations: 1.04 MB / 0.5109 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002729/0.3549, allocations: 197.6 kB / 0.511 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004042/0.3589, allocations: 2.504 MB / 0.5135 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/0.359, allocations: 7.969 kB / 0.5135 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.359, allocations: 7.938 kB / 0.5135 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007872/0.3598, allocations: 462.5 kB / 0.5139 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002328/0.36, allocations: 32 kB / 0.514 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008577/0.3609, allocations: 55.95 kB / 0.514 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000216/0.3611, allocations: 125.1 kB / 0.5141 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004872/0.366, allocations: 2.449 MB / 0.5165 GB, free: 7.684 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003865/0.3698, allocations: 2.921 MB / 0.5194 GB, free: 4.746 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001084/0.3709, allocations: 0.83 MB / 0.5202 GB, free: 3.918 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001684/0.3726, allocations: 1.306 MB / 0.5215 GB, free: 2.621 MB / 446.1 MB Notification: Performance of Backend: time 2.21e-07/0.3726, allocations: 0 / 0.5215 GB, free: 2.621 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0036/0.3763, allocations: 1.944 MB / 0.5234 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of SimCode: time 0.008846/0.3851, allocations: 6.425 MB / 0.5297 GB, free: 10.18 MB / 462.1 MB Notification: Performance of Templates: time 0.2087/0.5939, allocations: 35.55 MB / 0.5644 GB, free: 109.8 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1)