Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001161/0.001161, allocations: 111.6 kB / 16.62 MB, free: 6.812 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.001232/0.001233, allocations: 190 kB / 17.55 MB, free: 5.934 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.56/1.56, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.001701/0.001701, allocations: 43.94 kB / 279.5 MB, free: 3.465 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1193, allocations: 46.63 MB / 326.2 MB, free: 4.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03577/0.1551, allocations: 32.38 MB / 358.5 MB, free: 4.242 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02312/0.1783, allocations: 8.846 MB / 367.4 MB, free: 11.37 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009152/0.1875, allocations: 191.3 kB / 367.6 MB, free: 11.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02056/0.2081, allocations: 7.479 MB / 375.1 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01667/0.2248, allocations: 3.359 MB / 378.4 MB, free: 304 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2357/0.4605, allocations: 1.958 MB / 380.4 MB, free: 12.31 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02501/0.4855, allocations: 13.28 MB / 393.7 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03784/0.5234, allocations: 25.14 MB / 418.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0136/0.5371, allocations: 6.54 MB / 425.3 MB, free: 8.277 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01354/0.5507, allocations: 7.375 MB / 432.7 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006843/0.5575, allocations: 1.887 MB / 434.6 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01107/0.5686, allocations: 2.371 MB / 437 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007603/0.5763, allocations: 3.811 MB / 440.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01629/0.5926, allocations: 7.183 MB / 448 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03505/0.6277, allocations: 24.91 MB / 472.9 MB, free: 11.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.6278, allocations: 0 / 472.9 MB, free: 11.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6278, allocations: 0 / 472.9 MB, free: 11.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008405/0.6286, allocations: 4 kB / 472.9 MB, free: 11.34 MB / 382.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.05205/0.6807, allocations: 14.8 MB / 487.7 MB, free: 12.54 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.6808, allocations: 12.03 kB / 487.7 MB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04383/0.7246, allocations: 7.737 MB / 495.4 MB, free: 4.859 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01831/0.7429, allocations: 7.275 MB / 0.4909 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009973/0.744, allocations: 0.8037 MB / 0.4917 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005346/0.7493, allocations: 1.067 MB / 0.4927 GB, free: 12.01 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05989/0.8093, allocations: 17.68 MB / 0.51 GB, free: 10.3 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000667/0.81, allocations: 15.8 kB / 0.51 GB, free: 10.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00474/0.8147, allocations: 449.8 kB / 0.5104 GB, free: 9.863 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008312/0.8156, allocations: 0.6553 MB / 0.5111 GB, free: 9.203 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04078/0.8564, allocations: 16.98 MB / 0.5277 GB, free: 8.203 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4981/1.355, allocations: 57.15 MB / 0.5835 GB, free: 109.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02896/1.384, allocations: 40.07 MB / 0.6226 GB, free: 70.53 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006771/1.39, allocations: 4.5 MB / 0.627 GB, free: 68.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01876/1.409, allocations: 12.7 MB / 0.6394 GB, free: 56.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.606e-05/1.409, allocations: 85.75 kB / 0.6395 GB, free: 56.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=398): time 4.859e-06/1.409, allocations: 0 / 0.6395 GB, free: 56.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=423): time 0.04332/1.453, allocations: 21.45 MB / 0.6604 GB, free: 34.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.05e-05/1.453, allocations: 120.7 kB / 0.6606 GB, free: 34.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006903/1.46, allocations: 4.828 MB / 0.6653 GB, free: 29.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00107/1.461, allocations: 101.7 kB / 0.6654 GB, free: 29.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002481/1.463, allocations: 4.798 MB / 0.67 GB, free: 24.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001766/1.465, allocations: 1.447 MB / 0.6715 GB, free: 23.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001837/1.467, allocations: 1.203 MB / 0.6726 GB, free: 21.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.518e-05/1.467, allocations: 301.1 kB / 0.6729 GB, free: 21.69 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004134/1.471, allocations: 2.964 MB / 0.6758 GB, free: 18.72 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005038/1.476, allocations: 5.24 MB / 0.6809 GB, free: 12.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00919/1.485, allocations: 8.729 MB / 0.6895 GB, free: 2.648 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.281e-05/1.485, allocations: 20 kB / 0.6895 GB, free: 2.629 MB / 446.1 MB Notification: Performance of matching and sorting (n=803) (initialization): time 0.01848/1.504, allocations: 10.03 MB / 0.6993 GB, free: 8.543 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.381e-05/1.504, allocations: 39.94 kB / 0.6993 GB, free: 8.504 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001484/1.504, allocations: 76 kB / 0.6994 GB, free: 8.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004659/1.509, allocations: 1.682 MB / 0.701 GB, free: 6.738 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005948/1.515, allocations: 1.396 MB / 0.7024 GB, free: 5.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2349/1.75, allocations: 17.78 MB / 0.7198 GB, free: 139.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006919/1.757, allocations: 342.3 kB / 0.7201 GB, free: 139.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001817/1.759, allocations: 305.5 kB / 0.7204 GB, free: 139.1 MB / 462.1 MB 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.01132/1.77, allocations: 3.947 MB / 0.7242 GB, free: 137.2 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002002/1.772, allocations: 0.4978 MB / 0.7247 GB, free: 137.2 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01372/1.786, allocations: 7.81 MB / 0.7323 GB, free: 133.9 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.514e-05/1.786, allocations: 47.31 kB / 0.7324 GB, free: 133.9 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.571e-05/1.786, allocations: 16.52 kB / 0.7324 GB, free: 133.9 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.693e-05/1.786, allocations: 19.36 kB / 0.7324 GB, free: 133.9 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03294/1.819, allocations: 17.54 MB / 0.7496 GB, free: 126.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.778e-05/1.819, allocations: 3.844 kB / 0.7496 GB, free: 126.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003452/1.822, allocations: 0.7233 MB / 0.7503 GB, free: 126.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004125/1.827, allocations: 1.564 MB / 0.7518 GB, free: 126 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008061/1.827, allocations: 97.98 kB / 0.7519 GB, free: 125.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01986/1.847, allocations: 21.24 MB / 0.7726 GB, free: 109.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/1.847, allocations: 8 kB / 0.7726 GB, free: 109.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01663/1.864, allocations: 11.46 MB / 0.7838 GB, free: 98.07 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003201/1.867, allocations: 1.155 MB / 0.785 GB, free: 96.89 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00137/1.869, allocations: 87.98 kB / 0.785 GB, free: 96.81 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003094/1.872, allocations: 231.8 kB / 0.7853 GB, free: 96.58 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001024/1.873, allocations: 335.3 kB / 0.7856 GB, free: 96.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003005/1.873, allocations: 124 kB / 0.7857 GB, free: 96.13 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005665/1.879, allocations: 3.259 MB / 0.7889 GB, free: 92.88 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.879, allocations: 0 / 0.7889 GB, free: 92.88 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.008608/1.887, allocations: 1.893 MB / 0.7907 GB, free: 90.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 (364): * Single equations (assignments): 357 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (14,44,40.8%), (2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,5,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00104/1.888, allocations: 276.1 kB / 0.791 GB, free: 90.73 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.02333/1.912, allocations: 11.71 MB / 0.8024 GB, free: 79.02 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.231e-05/1.912, allocations: 0 / 0.8024 GB, free: 79.02 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007842/1.92, allocations: 4.644 MB / 0.807 GB, free: 74.29 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006935/1.927, allocations: 1.298 MB / 0.8082 GB, free: 73 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03597/1.963, allocations: 24.24 MB / 0.8319 GB, free: 48.67 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007978/1.971, allocations: 6.85 MB / 0.8386 GB, free: 41.78 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006228/1.977, allocations: 1.932 MB / 0.8405 GB, free: 39.84 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001201/1.978, allocations: 383.4 kB / 0.8408 GB, free: 39.46 MB / 462.1 MB Notification: Performance of SimCode: time 1.082e-06/1.978, allocations: 0 / 0.8408 GB, free: 39.46 MB / 462.1 MB Notification: Performance of Templates: time 0.3985/2.377, allocations: 85.73 MB / 0.9246 GB, free: 112.2 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1)