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.001102/0.001102, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001201/0.001202, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.646/1.646, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.001398/0.001398, allocations: 59.92 kB / 280 MB, free: 3.148 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1117, allocations: 46.63 MB / 326.6 MB, free: 4.445 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03563/0.1474, allocations: 32.94 MB / 359.6 MB, free: 3.352 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02156/0.169, allocations: 8.986 MB / 368.6 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008631/0.1777, allocations: 203.2 kB / 368.8 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02113/0.1989, allocations: 7.941 MB / 376.7 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2276/0.4265, allocations: 3.7 MB / 380.4 MB, free: 11.99 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007548/0.4341, allocations: 2.139 MB / 382.6 MB, free: 11.97 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02012/0.4542, allocations: 13.07 MB / 395.6 MB, free: 11.94 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02976/0.484, allocations: 22.6 MB / 418.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01226/0.4963, allocations: 6.599 MB / 424.8 MB, free: 9.047 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01293/0.5093, allocations: 7.342 MB / 432.2 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006235/0.5156, allocations: 1.891 MB / 434.1 MB, free: 1.297 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009995/0.5256, allocations: 2.362 MB / 436.4 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007715/0.5334, allocations: 3.819 MB / 440.2 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01716/0.5505, allocations: 7.186 MB / 447.4 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03144/0.582, allocations: 24.94 MB / 472.4 MB, free: 12.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.16e-05/0.5821, allocations: 4 kB / 472.4 MB, free: 12.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.5821, allocations: 0 / 472.4 MB, free: 12.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001081/0.5832, allocations: 0 / 472.4 MB, free: 12.04 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.05695/0.6402, allocations: 14.8 MB / 487.2 MB, free: 13.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/0.6403, allocations: 8.031 kB / 487.2 MB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04549/0.6858, allocations: 7.743 MB / 494.9 MB, free: 5.559 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01983/0.7056, allocations: 7.322 MB / 0.4905 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001151/0.7068, allocations: 0.8064 MB / 0.4913 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006214/0.713, allocations: 1.067 MB / 0.4923 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05696/0.77, allocations: 17.68 MB / 0.5096 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000683/0.7708, allocations: 19.8 kB / 0.5096 GB, free: 10.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005051/0.7758, allocations: 450.7 kB / 0.51 GB, free: 10.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008644/0.7767, allocations: 0.6514 MB / 0.5107 GB, free: 9.848 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04337/0.8201, allocations: 16.97 MB / 0.5272 GB, free: 8.855 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5412/1.361, allocations: 57.15 MB / 0.583 GB, free: 110.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02858/1.39, allocations: 40.07 MB / 0.6222 GB, free: 70.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007643/1.398, allocations: 4.495 MB / 0.6266 GB, free: 68.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02058/1.418, allocations: 12.71 MB / 0.639 GB, free: 56.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.622e-05/1.418, allocations: 77.81 kB / 0.639 GB, free: 56.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=398): time 5.6e-06/1.418, allocations: 0 / 0.639 GB, free: 56.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=423): time 0.04427/1.463, allocations: 21.46 MB / 0.66 GB, free: 35 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.67e-05/1.463, allocations: 120.7 kB / 0.6601 GB, free: 34.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007014/1.47, allocations: 4.82 MB / 0.6648 GB, free: 30.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001003/1.471, allocations: 93.7 kB / 0.6649 GB, free: 29.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002202/1.473, allocations: 4.8 MB / 0.6696 GB, free: 25.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001793/1.475, allocations: 1.45 MB / 0.671 GB, free: 23.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001753/1.477, allocations: 1.196 MB / 0.6722 GB, free: 22.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.888e-05/1.477, allocations: 305.1 kB / 0.6725 GB, free: 22.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003766/1.48, allocations: 2.968 MB / 0.6754 GB, free: 19.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00515/1.486, allocations: 5.24 MB / 0.6805 GB, free: 12.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009918/1.496, allocations: 8.729 MB / 0.689 GB, free: 3.113 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-05/1.496, allocations: 20 kB / 0.689 GB, free: 3.094 MB / 446.1 MB Notification: Performance of matching and sorting (n=803) (initialization): time 0.01974/1.515, allocations: 10.04 MB / 0.6988 GB, free: 9.004 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001204/1.516, allocations: 36.41 kB / 0.6989 GB, free: 8.969 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001698/1.516, allocations: 80 kB / 0.6989 GB, free: 8.891 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005116/1.521, allocations: 1.673 MB / 0.7006 GB, free: 7.207 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006161/1.527, allocations: 1.4 MB / 0.702 GB, free: 5.805 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2724/1.799, allocations: 17.79 MB / 0.7193 GB, free: 139.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005712/1.805, allocations: 341.3 kB / 0.7196 GB, free: 139.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001308/1.807, allocations: 306.6 kB / 0.7199 GB, free: 139.3 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.009338/1.816, allocations: 3.951 MB / 0.7238 GB, free: 137.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00154/1.817, allocations: 0.4944 MB / 0.7243 GB, free: 137.4 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01383/1.831, allocations: 7.808 MB / 0.7319 GB, free: 134.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.073e-05/1.831, allocations: 47.5 kB / 0.7319 GB, free: 134.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.927e-05/1.831, allocations: 15.81 kB / 0.732 GB, free: 134.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.564e-05/1.831, allocations: 24.33 kB / 0.732 GB, free: 134.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02797/1.859, allocations: 17.53 MB / 0.7491 GB, free: 126.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.808e-05/1.86, allocations: 12.28 kB / 0.7491 GB, free: 126.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003107/1.863, allocations: 0.7219 MB / 0.7498 GB, free: 126.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004114/1.867, allocations: 1.574 MB / 0.7514 GB, free: 126.1 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006203/1.867, allocations: 99.31 kB / 0.7515 GB, free: 126.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01987/1.887, allocations: 21.24 MB / 0.7722 GB, free: 109.6 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/1.887, allocations: 11.94 kB / 0.7722 GB, free: 109.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01599/1.903, allocations: 11.45 MB / 0.7834 GB, free: 98.25 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002975/1.906, allocations: 1.153 MB / 0.7845 GB, free: 97.08 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008909/1.907, allocations: 87.98 kB / 0.7846 GB, free: 96.99 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002581/1.91, allocations: 235.8 kB / 0.7848 GB, free: 96.76 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000821/1.911, allocations: 331.3 kB / 0.7851 GB, free: 96.44 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002731/1.911, allocations: 132 kB / 0.7853 GB, free: 96.31 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004482/1.915, allocations: 3.255 MB / 0.7884 GB, free: 93.06 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.915, allocations: 4 kB / 0.7884 GB, free: 93.05 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007268/1.923, allocations: 1.891 MB / 0.7903 GB, free: 91.16 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.0007479/1.923, allocations: 264.9 kB / 0.7905 GB, free: 90.91 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.02271/1.946, allocations: 11.7 MB / 0.802 GB, free: 79.21 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.431e-05/1.946, allocations: 0 / 0.802 GB, free: 79.21 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007022/1.953, allocations: 4.655 MB / 0.8065 GB, free: 74.47 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006645/1.96, allocations: 1.306 MB / 0.8078 GB, free: 73.17 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03567/1.996, allocations: 19.66 MB / 0.827 GB, free: 53.43 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007031/2.003, allocations: 6.855 MB / 0.8337 GB, free: 46.53 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005959/2.009, allocations: 1.928 MB / 0.8356 GB, free: 44.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001068/2.01, allocations: 391.3 kB / 0.8359 GB, free: 44.21 MB / 462.1 MB Notification: Performance of SimCode: time 8.92e-07/2.01, allocations: 0 / 0.8359 GB, free: 44.21 MB / 462.1 MB Notification: Performance of Templates: time 0.3563/2.366, allocations: 85.72 MB / 0.9196 GB, free: 116.3 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)