Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.0008026/0.0008029, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.005671/0.005672, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.614/1.614, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0004646/0.0004646, allocations: 12.33 kB / 279.5 MB, free: 12.49 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2508, allocations: 47.59 MB / 327.1 MB, free: 1.445 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03257/0.2834, allocations: 31.08 MB / 358.1 MB, free: 4.176 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02145/0.3049, allocations: 8.817 MB / 367 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008523/0.3135, allocations: 191.3 kB / 367.1 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008124/0.3216, allocations: 2.111 MB / 369.3 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01412/0.3358, allocations: 3.371 MB / 372.6 MB, free: 5.641 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007069/0.3429, allocations: 1.879 MB / 374.5 MB, free: 3.762 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01932/0.3622, allocations: 13.56 MB / 388.1 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03731/0.3995, allocations: 21.52 MB / 409.6 MB, free: 484 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00932/0.4089, allocations: 4.674 MB / 414.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01112/0.4201, allocations: 5.757 MB / 420 MB, free: 6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003039/0.4231, allocations: 0.7305 MB / 420.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004975/0.4281, allocations: 1.097 MB / 421.8 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003166/0.4313, allocations: 2.452 MB / 424.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009401/0.4407, allocations: 5.713 MB / 430 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02628/0.467, allocations: 23.54 MB / 453.5 MB, free: 4.344 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4671, allocations: 0 / 453.5 MB, free: 4.344 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4671, allocations: 0 / 453.5 MB, free: 4.344 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007633/0.4679, allocations: 0 / 453.5 MB, free: 4.344 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.3955/0.8633, allocations: 12.37 MB / 465.9 MB, free: 94.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.8634, allocations: 7.906 kB / 465.9 MB, free: 94.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04233/0.9057, allocations: 7.774 MB / 473.7 MB, free: 90.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0135/0.9193, allocations: 7.298 MB / 481 MB, free: 83.56 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006354/0.92, allocations: 0.8035 MB / 481.8 MB, free: 82.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003868/0.9238, allocations: 1.072 MB / 482.9 MB, free: 81.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04213/0.966, allocations: 17.69 MB / 0.4888 GB, free: 63.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004409/0.9665, allocations: 23.75 kB / 0.4889 GB, free: 63.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003283/0.9698, allocations: 447.3 kB / 0.4893 GB, free: 63.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005924/0.9704, allocations: 0.6553 MB / 0.4899 GB, free: 62.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03183/1.002, allocations: 17 MB / 0.5065 GB, free: 45.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0903/1.093, allocations: 57.33 MB / 0.5625 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03479/1.127, allocations: 40.03 MB / 0.6016 GB, free: 6.551 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007966/1.135, allocations: 4.521 MB / 0.606 GB, free: 2.023 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02513/1.161, allocations: 12.72 MB / 0.6184 GB, free: 5.305 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.131e-05/1.161, allocations: 81.8 kB / 0.6185 GB, free: 5.215 MB / 462.1 MB Notification: Performance of pre-optimization done (n=398): time 4.699e-06/1.161, allocations: 0 / 0.6185 GB, free: 5.215 MB / 462.1 MB Notification: Performance of matching and sorting (n=423): time 0.2668/1.427, allocations: 21.56 MB / 0.6396 GB, free: 154.2 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/1.428, allocations: 126.5 kB / 0.6397 GB, free: 154.1 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008198/1.436, allocations: 4.825 MB / 0.6444 GB, free: 152.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009599/1.437, allocations: 93.3 kB / 0.6445 GB, free: 152.2 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002862/1.44, allocations: 4.799 MB / 0.6492 GB, free: 148.6 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001697/1.441, allocations: 1.455 MB / 0.6506 GB, free: 147.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007636/1.442, allocations: 496.2 kB / 0.6511 GB, free: 147.3 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.729e-05/1.442, allocations: 301.1 kB / 0.6514 GB, free: 147 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004045/1.446, allocations: 2.977 MB / 0.6543 GB, free: 145.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005602/1.452, allocations: 5.248 MB / 0.6594 GB, free: 141.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009879/1.462, allocations: 8.745 MB / 0.6679 GB, free: 134.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.134e-05/1.462, allocations: 24 kB / 0.668 GB, free: 134.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=803) (initialization): time 0.01729/1.479, allocations: 10.05 MB / 0.6778 GB, free: 125.9 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.449e-05/1.479, allocations: 36 kB / 0.6778 GB, free: 125.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001002/1.479, allocations: 76 kB / 0.6779 GB, free: 125.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004165/1.484, allocations: 1.678 MB / 0.6795 GB, free: 124.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005283/1.489, allocations: 1.404 MB / 0.6809 GB, free: 122.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01816/1.507, allocations: 16.49 MB / 0.697 GB, free: 105.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005174/1.512, allocations: 335.7 kB / 0.6973 GB, free: 105.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00103/1.513, allocations: 312 kB / 0.6976 GB, free: 105.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.006528/1.52, allocations: 3.947 MB / 0.7015 GB, free: 101.1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00119/1.521, allocations: 0.5017 MB / 0.702 GB, free: 100.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01185/1.533, allocations: 7.816 MB / 0.7096 GB, free: 92.72 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.568e-05/1.533, allocations: 44 kB / 0.7096 GB, free: 92.68 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.333e-05/1.533, allocations: 21.38 kB / 0.7097 GB, free: 92.66 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.255e-05/1.533, allocations: 23.91 kB / 0.7097 GB, free: 92.63 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02386/1.557, allocations: 17.56 MB / 0.7268 GB, free: 74.95 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.517e-05/1.557, allocations: 8 kB / 0.7268 GB, free: 74.94 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002937/1.56, allocations: 0.7263 MB / 0.7275 GB, free: 74.21 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003741/1.564, allocations: 1.55 MB / 0.7291 GB, free: 72.64 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005112/1.564, allocations: 112 kB / 0.7292 GB, free: 72.53 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01796/1.582, allocations: 19.53 MB / 0.7482 GB, free: 52.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/1.582, allocations: 11.94 kB / 0.7482 GB, free: 52.09 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0173/1.599, allocations: 11.49 MB / 0.7595 GB, free: 40.42 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003001/1.603, allocations: 1.174 MB / 0.7606 GB, free: 39.22 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001156/1.604, allocations: 91.98 kB / 0.7607 GB, free: 39.13 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003113/1.607, allocations: 247.7 kB / 0.7609 GB, free: 38.89 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008097/1.608, allocations: 323.3 kB / 0.7612 GB, free: 38.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002615/1.608, allocations: 136 kB / 0.7614 GB, free: 38.43 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004764/1.613, allocations: 3.255 MB / 0.7646 GB, free: 35.18 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.613, allocations: 0 / 0.7646 GB, free: 35.18 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007197/1.62, allocations: 1.891 MB / 0.7664 GB, free: 33.29 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.000746/1.621, allocations: 266.1 kB / 0.7667 GB, free: 33.03 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01184/1.633, allocations: 8.243 MB / 0.7747 GB, free: 24.73 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/1.633, allocations: 0 / 0.7747 GB, free: 24.73 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006763/1.639, allocations: 4.673 MB / 0.7793 GB, free: 19.97 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01239/1.652, allocations: 1.238 MB / 0.7805 GB, free: 18.73 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2426/1.894, allocations: 24.41 MB / 0.8043 GB, free: 138.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007595/1.902, allocations: 6.851 MB / 0.811 GB, free: 137.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005777/1.908, allocations: 1.932 MB / 0.8129 GB, free: 137.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001079/1.909, allocations: 382.9 kB / 0.8133 GB, free: 137.6 MB / 462.1 MB Notification: Performance of SimCode: time 1.262e-06/1.909, allocations: 0 / 0.8133 GB, free: 137.6 MB / 462.1 MB Notification: Performance of Templates: time 0.1181/2.027, allocations: 81.47 MB / 0.8928 GB, free: 65.29 MB / 462.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1)