Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.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.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|Itr|Iqs|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imsQS.rotor.electroMagneticConverter.port_p.reference.gamma|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|Itr|Iqs|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imsQS.rotor.electroMagneticConverter.port_p.reference.gamma|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001057/0.001057, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001076/0.001076, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 63.88 kB / 359.5 MB, free: 12.83 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2091, allocations: 50.53 MB / 410 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.04395/0.2531, allocations: 45.94 MB / 455.9 MB, free: 3.398 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02176/0.2749, allocations: 12.09 MB / 468 MB, free: 7.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006062/0.281, allocations: 366.8 kB / 468.4 MB, free: 6.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0257/0.3067, allocations: 12.49 MB / 480.9 MB, free: 10.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01388/0.3206, allocations: 4.917 MB / 485.8 MB, free: 5.453 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007729/0.3283, allocations: 3.054 MB / 488.8 MB, free: 2.418 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02275/0.3511, allocations: 21.09 MB / 0.498 GB, free: 13.26 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05451/0.4056, allocations: 41.96 MB / 0.5389 GB, free: 3.035 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3553/0.7609, allocations: 10.99 MB / 0.5497 GB, free: 40.62 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01484/0.7758, allocations: 12.2 MB / 0.5616 GB, free: 39.38 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005051/0.7809, allocations: 3.133 MB / 0.5646 GB, free: 39.38 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006363/0.7872, allocations: 3.565 MB / 0.5681 GB, free: 39.38 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004157/0.7914, allocations: 6.248 MB / 0.5742 GB, free: 38.7 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01179/0.8032, allocations: 11.92 MB / 0.5859 GB, free: 32.31 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02689/0.8301, allocations: 41.5 MB / 0.6264 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.8302, allocations: 3.984 kB / 0.6264 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.8302, allocations: 6.656 kB / 0.6264 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000725/0.8309, allocations: 0 / 0.6264 GB, free: 0.7227 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: 5030 * Number of variables: 5030 Notification: Performance of Generate backend data structure: time 0.06135/0.8923, allocations: 23.94 MB / 0.6498 GB, free: 8.859 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.8923, allocations: 8.031 kB / 0.6498 GB, free: 8.852 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06248/0.9548, allocations: 11.39 MB / 0.6609 GB, free: 13.57 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.025/0.9799, allocations: 13.44 MB / 0.674 GB, free: 0.5938 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009545/0.9808, allocations: 1.366 MB / 0.6754 GB, free: 15.24 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004132/0.985, allocations: 1.789 MB / 0.6771 GB, free: 13.47 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05332/1.038, allocations: 29.59 MB / 0.706 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003274/1.039, allocations: 27.31 kB / 0.706 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001993/1.041, allocations: 0.7399 MB / 0.7068 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008496/1.042, allocations: 0.9868 MB / 0.7077 GB, free: 14.08 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04463/1.086, allocations: 27.3 MB / 0.7344 GB, free: 2.773 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4395/1.526, allocations: 93.78 MB / 0.826 GB, free: 145.9 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02867/1.554, allocations: 52.59 MB / 0.8773 GB, free: 93.64 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009181/1.564, allocations: 7.35 MB / 0.8845 GB, free: 86.28 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02488/1.589, allocations: 19.68 MB / 0.9037 GB, free: 66.77 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.576e-05/1.589, allocations: 104.5 kB / 0.9038 GB, free: 66.66 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=677): time 8.216e-06/1.589, allocations: 4 kB / 0.9038 GB, free: 66.66 MB / 0.5764 GB Notification: Performance of matching and sorting (n=685): time 0.08355/1.672, allocations: 38.15 MB / 0.9411 GB, free: 28.11 MB / 0.5764 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/1.672, allocations: 151.1 kB / 0.9412 GB, free: 27.95 MB / 0.5764 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007687/1.68, allocations: 7.139 MB / 0.9482 GB, free: 20.83 MB / 0.5764 GB Notification: Performance of collectPreVariables (initialization): time 0.0005073/1.68, allocations: 137.7 kB / 0.9483 GB, free: 20.69 MB / 0.5764 GB Notification: Performance of collectInitialEqns (initialization): time 0.002891/1.683, allocations: 7.819 MB / 0.956 GB, free: 12.82 MB / 0.5764 GB Notification: Performance of collectInitialBindings (initialization): time 0.001259/1.685, allocations: 2.323 MB / 0.9582 GB, free: 10.52 MB / 0.5764 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002321/1.687, allocations: 1.866 MB / 0.96 GB, free: 8.637 MB / 0.5764 GB Notification: Performance of setup shared object (initialization): time 3.058e-05/1.687, allocations: 305.1 kB / 0.9603 GB, free: 8.336 MB / 0.5764 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005774/1.693, allocations: 4.86 MB / 0.9651 GB, free: 3.469 MB / 0.5764 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.207/1.9, allocations: 8.336 MB / 0.9732 GB, free: 182.8 MB / 0.5764 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01457/1.914, allocations: 14 MB / 0.9869 GB, free: 175.2 MB / 0.5764 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001016/1.915, allocations: 34.41 kB / 0.9869 GB, free: 175.2 MB / 0.5764 GB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.02163/1.936, allocations: 16.08 MB / 1.003 GB, free: 169 MB / 0.5764 GB Notification: Performance of prepare postOptimizeDAE: time 6.929e-05/1.936, allocations: 58.16 kB / 1.003 GB, free: 169 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001022/1.936, allocations: 114.2 kB / 1.003 GB, free: 169 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005515/1.942, allocations: 2.567 MB / 1.005 GB, free: 168.3 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006506/1.948, allocations: 2.099 MB / 1.007 GB, free: 168 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02784/1.976, allocations: 30.76 MB / 1.037 GB, free: 145.9 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005954/1.982, allocations: 0.5256 MB / 1.038 GB, free: 145.5 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006159/1.983, allocations: 463.6 kB / 1.038 GB, free: 145 MB / 0.5764 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 511 * Number of states: 0 () * Number of discrete variables: 12 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,rheostatQS.booleanStep[3].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[1].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1089): * Single equations (assignments): 1079 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (18,100,38.3%), (1,5,100.0%), (1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007901/1.991, allocations: 6.77 MB / 1.045 GB, free: 139.3 MB / 0.5764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001142/1.992, allocations: 0.7722 MB / 1.046 GB, free: 139 MB / 0.5764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01813/2.01, allocations: 13.08 MB / 1.058 GB, free: 126.9 MB / 0.5764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.211e-05/2.01, allocations: 35.88 kB / 1.059 GB, free: 126.9 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/2.01, allocations: 0 / 1.059 GB, free: 126.9 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002787/2.013, allocations: 1.762 MB / 1.06 GB, free: 125.5 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009554/2.014, allocations: 124 kB / 1.06 GB, free: 125.4 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003353/2.017, allocations: 388.6 kB / 1.061 GB, free: 125 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009707/2.018, allocations: 0.5911 MB / 1.061 GB, free: 124.4 MB / 0.5764 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01865/2.037, allocations: 12.46 MB / 1.073 GB, free: 112 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01627/2.053, allocations: 14.47 MB / 1.088 GB, free: 97.4 MB / 0.5764 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0048/2.058, allocations: 4.601 MB / 1.092 GB, free: 92.78 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.00602/2.064, allocations: 4.814 MB / 1.097 GB, free: 87.99 MB / 0.5764 GB Notification: Performance of Backend: time 3.11e-07/2.064, allocations: 0 / 1.097 GB, free: 87.99 MB / 0.5764 GB Notification: Performance of simCode: created initialization part: time 0.01476/2.079, allocations: 9.789 MB / 1.106 GB, free: 78.13 MB / 0.5764 GB Notification: Performance of SimCode: time 0.04346/2.122, allocations: 31.42 MB / 1.137 GB, free: 46.74 MB / 0.5764 GB Notification: Performance of Templates: time 0.3942/2.517, allocations: 149 MB / 1.283 GB, free: 125.8 MB / 0.592 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.pipe 2>&1)