Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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="empty",numberOfIntervals=300000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=300000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.0014/0.0014, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001692/0.001692, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.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.0005387/0.0005389, allocations: 14.81 kB / 278.9 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2631, allocations: 47.58 MB / 326.5 MB, free: 1.434 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.02908/0.2922, allocations: 26.32 MB / 352.8 MB, free: 9.133 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02214/0.3144, allocations: 8.646 MB / 361.4 MB, free: 480 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008865/0.3233, allocations: 187.3 kB / 361.6 MB, free: 292 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008072/0.3314, allocations: 1.803 MB / 363.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.014/0.3455, allocations: 3.159 MB / 366.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00606/0.3516, allocations: 1.434 MB / 368 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02143/0.373, allocations: 11.49 MB / 379.5 MB, free: 14.36 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03927/0.4123, allocations: 17.43 MB / 396.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009976/0.4224, allocations: 4.486 MB / 401.4 MB, free: 8.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009079/0.4315, allocations: 4.942 MB / 406.4 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003489/0.435, allocations: 0.7266 MB / 407.1 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005377/0.4404, allocations: 1.011 MB / 408.1 MB, free: 1.621 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004831/0.4453, allocations: 2.317 MB / 410.4 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005356/0.4507, allocations: 2.414 MB / 412.8 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02408/0.4748, allocations: 21.01 MB / 433.8 MB, free: 7.801 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.4748, allocations: 0 / 433.8 MB, free: 7.801 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4748, allocations: 0 / 433.8 MB, free: 7.801 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0006515/0.4755, allocations: 0 / 433.8 MB, free: 7.801 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: 3009 * Number of variables: 3009 Notification: Performance of Generate backend data structure: time 0.03847/0.514, allocations: 12.42 MB / 446.3 MB, free: 11.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.514, allocations: 8.031 kB / 446.3 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04332/0.5574, allocations: 7.688 MB / 454 MB, free: 3.547 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3822/0.9396, allocations: 7.206 MB / 461.2 MB, free: 88.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001041/0.9406, allocations: 0.8006 MB / 462 MB, free: 87.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005352/0.946, allocations: 1.061 MB / 463 MB, free: 87.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0436/0.9896, allocations: 17.51 MB / 480.5 MB, free: 80.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000384/0.9901, allocations: 26.8 kB / 480.6 MB, free: 80.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00356/0.9936, allocations: 447.6 kB / 481 MB, free: 79.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006417/0.9943, allocations: 0.6637 MB / 481.7 MB, free: 79.56 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03627/1.031, allocations: 16.91 MB / 498.6 MB, free: 63.83 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1033/1.134, allocations: 57.23 MB / 0.5428 GB, free: 5.895 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03609/1.17, allocations: 39.99 MB / 0.5818 GB, free: 8.918 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02762/1.198, allocations: 12.47 MB / 0.594 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.357e-05/1.198, allocations: 77.86 kB / 0.5941 GB, free: 12.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 5.961e-06/1.198, allocations: 0 / 0.5941 GB, free: 12.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=435): time 0.05854/1.256, allocations: 22.28 MB / 0.6158 GB, free: 5.727 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.815e-05/1.257, allocations: 128.8 kB / 0.616 GB, free: 5.582 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01001/1.267, allocations: 4.71 MB / 0.6206 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009178/1.267, allocations: 97.7 kB / 0.6207 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2357/1.503, allocations: 4.775 MB / 0.6253 GB, free: 154.1 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002055/1.505, allocations: 1.49 MB / 0.6268 GB, free: 153.2 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001095/1.506, allocations: 131.1 kB / 0.6269 GB, free: 153.2 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0004146/1.507, allocations: 0.5499 MB / 0.6274 GB, free: 152.8 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005113/1.512, allocations: 3 MB / 0.6304 GB, free: 151.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005603/1.518, allocations: 5.224 MB / 0.6355 GB, free: 147.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005151/1.523, allocations: 4.101 MB / 0.6395 GB, free: 145.9 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.685e-05/1.523, allocations: 27.5 kB / 0.6395 GB, free: 145.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=811) (initialization): time 0.0144/1.537, allocations: 10.09 MB / 0.6494 GB, free: 141.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.195e-05/1.537, allocations: 35.69 kB / 0.6494 GB, free: 141.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001081/1.537, allocations: 70.88 kB / 0.6495 GB, free: 141.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003863/1.541, allocations: 1.675 MB / 0.6511 GB, free: 141.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005102/1.546, allocations: 1.414 MB / 0.6525 GB, free: 141.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01891/1.565, allocations: 16.88 MB / 0.669 GB, free: 130.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005775/1.571, allocations: 345.8 kB / 0.6693 GB, free: 130.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001255/1.572, allocations: 308.2 kB / 0.6696 GB, free: 130.1 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 331 * 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 (718): * Single equations (assignments): 714 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(7,69.4%) 28,(1,100.0%) 1,(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00768/1.58, allocations: 3.954 MB / 0.6735 GB, free: 126.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00145/1.582, allocations: 0.4946 MB / 0.6739 GB, free: 126.1 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0128/1.594, allocations: 7.931 MB / 0.6817 GB, free: 119 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.754e-05/1.594, allocations: 47.98 kB / 0.6817 GB, free: 119 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.439e-05/1.595, allocations: 20 kB / 0.6817 GB, free: 118.9 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.69e-05/1.595, allocations: 23.91 kB / 0.6818 GB, free: 118.9 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02851/1.623, allocations: 17.71 MB / 0.6991 GB, free: 101.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.881e-05/1.623, allocations: 11.75 kB / 0.6991 GB, free: 101.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003154/1.626, allocations: 0.7575 MB / 0.6998 GB, free: 100.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003844/1.63, allocations: 1.551 MB / 0.7013 GB, free: 98.73 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006675/1.631, allocations: 108 kB / 0.7014 GB, free: 98.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01827/1.649, allocations: 19.86 MB / 0.7208 GB, free: 77.85 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/1.649, allocations: 11.94 kB / 0.7208 GB, free: 77.84 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01624/1.665, allocations: 12.4 MB / 0.733 GB, free: 65.05 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00313/1.669, allocations: 1.178 MB / 0.7341 GB, free: 63.85 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001179/1.67, allocations: 95.94 kB / 0.7342 GB, free: 63.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002986/1.673, allocations: 243.8 kB / 0.7344 GB, free: 63.52 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008333/1.674, allocations: 332.1 kB / 0.7347 GB, free: 63.19 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002933/1.674, allocations: 136 kB / 0.7349 GB, free: 63.05 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004636/1.679, allocations: 3.161 MB / 0.738 GB, free: 59.9 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.31e-07/1.679, allocations: 0 / 0.738 GB, free: 59.9 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.008616/1.687, allocations: 1.913 MB / 0.7398 GB, free: 57.99 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.strayReluctance.Phi.re,imc.stator.strayReluctance.Phi.im,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (376): * Single equations (assignments): 369 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(14,41.3%) 44,(2,100.0%) 12,(1,100.0%) 12,(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009818/1.688, allocations: 277.7 kB / 0.7401 GB, free: 57.71 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01229/1.701, allocations: 8.308 MB / 0.7482 GB, free: 49.36 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/1.701, allocations: 0 / 0.7482 GB, free: 49.36 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00667/1.707, allocations: 4.741 MB / 0.7528 GB, free: 44.52 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004883/1.712, allocations: 1.186 MB / 0.754 GB, free: 43.34 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03199/1.744, allocations: 23.27 MB / 0.7767 GB, free: 19.95 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006932/1.751, allocations: 7.03 MB / 0.7836 GB, free: 12.89 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005763/1.757, allocations: 1.944 MB / 0.7855 GB, free: 10.94 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/1.758, allocations: 387.4 kB / 0.7859 GB, free: 10.56 MB / 462.1 MB Notification: Performance of SimCode: time 1.663e-06/1.758, allocations: 4 kB / 0.7859 GB, free: 10.55 MB / 462.1 MB Notification: Performance of Templates: time 0.3045/2.062, allocations: 79.21 MB / 0.8632 GB, free: 85.37 MB / 462.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) Environment - environmentSimulation: