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_withLosses.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_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001227/0.001227, allocations: 168.7 kB / 15.95 MB, free: 204 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.377/1.377, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.0004281/0.0004281, allocations: 15.98 kB / 278.9 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2235, allocations: 47.59 MB / 326.5 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.0216/0.2451, allocations: 21.73 MB / 348.2 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01565/0.2608, allocations: 7.098 MB / 355.3 MB, free: 6.586 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004361/0.2652, allocations: 147.5 kB / 355.5 MB, free: 6.441 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005035/0.2703, allocations: 1.336 MB / 356.8 MB, free: 5.098 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008528/0.2788, allocations: 2.512 MB / 359.3 MB, free: 2.574 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004655/0.2835, allocations: 1.212 MB / 360.5 MB, free: 1.359 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01846/0.302, allocations: 13.66 MB / 374.2 MB, free: 3.656 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03666/0.3386, allocations: 19.36 MB / 393.6 MB, free: 180 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007294/0.346, allocations: 4.408 MB / 398 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007781/0.3538, allocations: 4.888 MB / 402.9 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002167/0.356, allocations: 0.668 MB / 403.5 MB, free: 6.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00431/0.3603, allocations: 1.035 MB / 404.6 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003327/0.3637, allocations: 2.114 MB / 406.7 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003929/0.3676, allocations: 2.153 MB / 408.8 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02001/0.3876, allocations: 19.6 MB / 428.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.3877, allocations: 4 kB / 428.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.3877, allocations: 0 / 428.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005174/0.3882, allocations: 0 / 428.4 MB, free: 13.2 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: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.02902/0.4172, allocations: 11.46 MB / 439.9 MB, free: 1.645 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.4173, allocations: 8.031 kB / 439.9 MB, free: 1.637 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03833/0.4556, allocations: 7.229 MB / 447.1 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01238/0.468, allocations: 6.412 MB / 453.5 MB, free: 3.895 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006254/0.4687, allocations: 0.7306 MB / 454.3 MB, free: 3.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003009/0.4717, allocations: 0.9724 MB / 455.2 MB, free: 2.188 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3402/0.8119, allocations: 16.53 MB / 471.8 MB, free: 86.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002636/0.8122, allocations: 17.95 kB / 471.8 MB, free: 86.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001693/0.8139, allocations: 405.5 kB / 472.2 MB, free: 86.56 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005374/0.8145, allocations: 0.5857 MB / 472.8 MB, free: 86.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02765/0.8421, allocations: 15.73 MB / 488.5 MB, free: 75.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07127/0.9134, allocations: 54 MB / 0.5298 GB, free: 21.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01682/0.9303, allocations: 22.7 MB / 0.552 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006067/0.9364, allocations: 3.835 MB / 0.5557 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01932/0.9557, allocations: 11.79 MB / 0.5672 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.099e-05/0.9558, allocations: 73.39 kB / 0.5673 GB, free: 12.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=363): time 4.929e-06/0.9558, allocations: 0 / 0.5673 GB, free: 12.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=368): time 0.04785/1.004, allocations: 19.95 MB / 0.5868 GB, free: 8.395 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/1.004, allocations: 90.27 kB / 0.5868 GB, free: 8.293 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006469/1.01, allocations: 4.737 MB / 0.5915 GB, free: 3.527 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005327/1.011, allocations: 85.7 kB / 0.5916 GB, free: 3.438 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003004/1.014, allocations: 4.476 MB / 0.5959 GB, free: 14.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001425/1.015, allocations: 1.265 MB / 0.5972 GB, free: 13.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003536/1.016, allocations: 120 kB / 0.5973 GB, free: 13.56 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000367/1.016, allocations: 0.5462 MB / 0.5978 GB, free: 13 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004544/1.021, allocations: 2.92 MB / 0.6007 GB, free: 10.08 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006079/1.027, allocations: 5.282 MB / 0.6058 GB, free: 3.691 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1938/1.221, allocations: 4.102 MB / 0.6098 GB, free: 138.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001029/1.221, allocations: 22 kB / 0.6098 GB, free: 138.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.01751/1.238, allocations: 9.623 MB / 0.6192 GB, free: 135.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.326e-05/1.238, allocations: 41.12 kB / 0.6193 GB, free: 135.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001028/1.238, allocations: 78.16 kB / 0.6194 GB, free: 135.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003061/1.241, allocations: 1.422 MB / 0.6207 GB, free: 135.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004294/1.246, allocations: 1.328 MB / 0.622 GB, free: 135.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01319/1.259, allocations: 11.65 MB / 0.6334 GB, free: 128.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004002/1.263, allocations: 372.4 kB / 0.6338 GB, free: 128.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000672/1.264, allocations: 302 kB / 0.6341 GB, free: 128.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 355 * 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 (692): * Single equations (assignments): 686 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(14,45.9%) 54} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005733/1.269, allocations: 3.926 MB / 0.6379 GB, free: 126.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008787/1.27, allocations: 445.7 kB / 0.6383 GB, free: 126.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01048/1.281, allocations: 6.826 MB / 0.645 GB, free: 124 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007689/1.288, allocations: 5.621 MB / 0.6505 GB, free: 121.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.769e-05/1.289, allocations: 12 kB / 0.6505 GB, free: 121.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.027e-05/1.289, allocations: 15.89 kB / 0.6505 GB, free: 121.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02252/1.311, allocations: 15.5 MB / 0.6656 GB, free: 107 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.598e-05/1.311, allocations: 4 kB / 0.6656 GB, free: 107 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002705/1.314, allocations: 0.6753 MB / 0.6663 GB, free: 106.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002917/1.317, allocations: 1.267 MB / 0.6675 GB, free: 105 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003804/1.317, allocations: 87.97 kB / 0.6676 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01142/1.329, allocations: 10.56 MB / 0.6779 GB, free: 94.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/1.329, allocations: 8 kB / 0.6779 GB, free: 94.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01288/1.342, allocations: 10.08 MB / 0.6878 GB, free: 84.01 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00182/1.343, allocations: 1.046 MB / 0.6888 GB, free: 82.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006195/1.344, allocations: 75.98 kB / 0.6889 GB, free: 82.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001894/1.346, allocations: 227.8 kB / 0.6891 GB, free: 82.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000498/1.346, allocations: 275.1 kB / 0.6894 GB, free: 82.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000224/1.347, allocations: 116 kB / 0.6895 GB, free: 82.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00383/1.351, allocations: 3.201 MB / 0.6926 GB, free: 79.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.11e-07/1.351, allocations: 0 / 0.6926 GB, free: 79.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006931/1.357, allocations: 1.693 MB / 0.6943 GB, free: 77.36 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * 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 (336): * Single equations (assignments): 330 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(14,45.9%) 54} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00131/1.359, allocations: 0.5041 MB / 0.6947 GB, free: 76.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0109/1.37, allocations: 7.558 MB / 0.7021 GB, free: 69.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/1.37, allocations: 0 / 0.7021 GB, free: 69.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005392/1.375, allocations: 3.606 MB / 0.7056 GB, free: 65.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004534/1.38, allocations: 0.9801 MB / 0.7066 GB, free: 64.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02741/1.407, allocations: 21.32 MB / 0.7274 GB, free: 43.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005608/1.413, allocations: 6.555 MB / 0.7338 GB, free: 36.69 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005515/1.418, allocations: 2.11 MB / 0.7359 GB, free: 34.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000999/1.419, allocations: 355.4 kB / 0.7362 GB, free: 34.23 MB / 446.1 MB Notification: Performance of SimCode: time 1.182e-06/1.419, allocations: 0 / 0.7362 GB, free: 34.23 MB / 446.1 MB Notification: Performance of Templates: time 0.2891/1.708, allocations: 66.74 MB / 0.8014 GB, free: 134 MB / 462.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1)