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_DOL.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_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005147/0.005147, allocations: 104.8 kB / 15.74 MB, free: 6.496 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.001093/0.001093, allocations: 197.2 kB / 16.68 MB, free: 6.371 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.448/1.448, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.001333/0.001333, allocations: 46.94 kB / 326.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1171, allocations: 46.62 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04166/0.1588, allocations: 38.35 MB / 411.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02489/0.1838, allocations: 10 MB / 421.6 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009204/0.193, allocations: 251.1 kB / 421.8 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02514/0.2183, allocations: 10.26 MB / 432.1 MB, free: 6.203 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01891/0.2372, allocations: 4.176 MB / 436.2 MB, free: 2.004 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009316/0.2465, allocations: 2.411 MB / 438.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.5796/0.8261, allocations: 16.53 MB / 455.2 MB, free: 6.777 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06023/0.8864, allocations: 31.18 MB / 486.4 MB, free: 2.059 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02024/0.9067, allocations: 8.895 MB / 495.3 MB, free: 15.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02311/0.9299, allocations: 9.423 MB / 0.4928 GB, free: 9.711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01179/0.9417, allocations: 2.426 MB / 0.4952 GB, free: 7.285 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01583/0.9576, allocations: 2.82 MB / 0.498 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01083/0.9685, allocations: 4.863 MB / 0.5027 GB, free: 488 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02546/0.994, allocations: 9.344 MB / 0.5118 GB, free: 7.945 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05226/1.046, allocations: 32.13 MB / 0.5432 GB, free: 10.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/1.046, allocations: 0 / 0.5432 GB, free: 10.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.537e-06/1.046, allocations: 4 kB / 0.5432 GB, free: 10.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001182/1.048, allocations: 0 / 0.5432 GB, free: 10.11 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3978 * Number of variables: 3978 Notification: Performance of Generate backend data structure: time 0.06982/1.117, allocations: 18.85 MB / 0.5616 GB, free: 7.281 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/1.117, allocations: 8.031 kB / 0.5616 GB, free: 7.273 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05285/1.17, allocations: 9.286 MB / 0.5707 GB, free: 14.07 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02436/1.195, allocations: 9.198 MB / 0.5797 GB, free: 5.25 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001492/1.196, allocations: 1.069 MB / 0.5807 GB, free: 4.191 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00749/1.204, allocations: 1.423 MB / 0.5821 GB, free: 2.785 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07161/1.275, allocations: 23.2 MB / 0.6048 GB, free: 11.55 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008536/1.276, allocations: 23.55 kB / 0.6048 GB, free: 11.53 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006798/1.283, allocations: 0.5869 MB / 0.6054 GB, free: 10.96 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00101/1.284, allocations: 0.8071 MB / 0.6062 GB, free: 10.15 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05326/1.337, allocations: 21.68 MB / 0.6273 GB, free: 4.457 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.459/1.796, allocations: 73.25 MB / 0.6989 GB, free: 120.3 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03357/1.83, allocations: 53.56 MB / 0.7512 GB, free: 67.29 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00936/1.839, allocations: 5.344 MB / 0.7564 GB, free: 63.3 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03357/1.873, allocations: 15.42 MB / 0.7715 GB, free: 47.91 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.059e-05/1.873, allocations: 98.64 kB / 0.7715 GB, free: 47.8 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=498): time 9.408e-06/1.873, allocations: 0 / 0.7715 GB, free: 47.8 MB / 0.5138 GB Notification: Performance of matching and sorting (n=506): time 0.0641/1.937, allocations: 26.94 MB / 0.7979 GB, free: 20.53 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.88e-05/1.937, allocations: 129.3 kB / 0.798 GB, free: 20.39 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0135/1.951, allocations: 5.906 MB / 0.8037 GB, free: 14.51 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001464/1.953, allocations: 113.7 kB / 0.8039 GB, free: 14.39 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003891/1.956, allocations: 6.277 MB / 0.81 GB, free: 8.078 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002539/1.959, allocations: 1.743 MB / 0.8117 GB, free: 6.352 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005615/1.965, allocations: 1.532 MB / 0.8132 GB, free: 4.812 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.012e-05/1.965, allocations: 305.1 kB / 0.8135 GB, free: 4.512 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006485/1.971, allocations: 3.681 MB / 0.8171 GB, free: 0.8281 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01159/1.983, allocations: 6.773 MB / 0.8237 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3237/2.307, allocations: 11.15 MB / 0.8346 GB, free: 165.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001387/2.307, allocations: 28.81 kB / 0.8346 GB, free: 165.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.0261/2.333, allocations: 12.39 MB / 0.8467 GB, free: 162.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.124e-05/2.333, allocations: 53.91 kB / 0.8467 GB, free: 162.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000216/2.333, allocations: 104.5 kB / 0.8468 GB, free: 162.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004039/2.337, allocations: 1.602 MB / 0.8484 GB, free: 162.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006257/2.344, allocations: 1.744 MB / 0.8501 GB, free: 161.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02056/2.364, allocations: 19.62 MB / 0.8693 GB, free: 149 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007217/2.371, allocations: 437.3 kB / 0.8697 GB, free: 148.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001846/2.373, allocations: 392.5 kB / 0.8701 GB, free: 148.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 462 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (904): * Single equations (assignments): 897 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (12,64,54.2%), (1,5,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01033/2.384, allocations: 5.252 MB / 0.8752 GB, free: 146.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00194/2.386, allocations: 0.6017 MB / 0.8758 GB, free: 146.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01692/2.403, allocations: 9.374 MB / 0.8849 GB, free: 142.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008713/2.411, allocations: 5.872 MB / 0.8907 GB, free: 140.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-05/2.411, allocations: 22.19 kB / 0.8907 GB, free: 140.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.355e-05/2.411, allocations: 30.2 kB / 0.8907 GB, free: 140.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04819/2.46, allocations: 21.08 MB / 0.9113 GB, free: 123.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-05/2.46, allocations: 4 kB / 0.9113 GB, free: 123.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003715/2.463, allocations: 0.8621 MB / 0.9122 GB, free: 122.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004287/2.468, allocations: 1.637 MB / 0.9137 GB, free: 120.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007624/2.469, allocations: 135.8 kB / 0.9139 GB, free: 120.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02192/2.49, allocations: 23.21 MB / 0.9365 GB, free: 96.63 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/2.49, allocations: 11.94 kB / 0.9366 GB, free: 96.62 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02169/2.512, allocations: 13.73 MB / 0.95 GB, free: 82.67 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005445/2.518, allocations: 1.361 MB / 0.9513 GB, free: 81.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002449/2.52, allocations: 100 kB / 0.9514 GB, free: 81.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004338/2.524, allocations: 291.7 kB / 0.9517 GB, free: 80.91 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001276/2.526, allocations: 408.4 kB / 0.9521 GB, free: 80.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006029/2.526, allocations: 152 kB / 0.9522 GB, free: 80.36 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.008108/2.535, allocations: 3.969 MB / 0.9561 GB, free: 76.42 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.82e-07/2.535, allocations: 0 / 0.9561 GB, free: 76.42 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01032/2.545, allocations: 2.368 MB / 0.9584 GB, free: 74.05 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (438): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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%), (1,13,100.0%), (1,5,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (12,64,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001126/2.546, allocations: 323.6 kB / 0.9587 GB, free: 73.74 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01509/2.561, allocations: 10.01 MB / 0.9685 GB, free: 63.64 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/2.561, allocations: 0 / 0.9685 GB, free: 63.64 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00808/2.569, allocations: 5.468 MB / 0.9738 GB, free: 58.09 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009362/2.579, allocations: 1.648 MB / 0.9754 GB, free: 56.45 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05219/2.631, allocations: 24.93 MB / 0.9998 GB, free: 31.43 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01672/2.648, allocations: 8.933 MB / 1.008 GB, free: 22.46 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.009121/2.657, allocations: 2.587 MB / 1.011 GB, free: 19.86 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002757/2.66, allocations: 467.3 kB / 1.011 GB, free: 19.41 MB / 0.5294 GB Notification: Performance of SimCode: time 6.41e-07/2.66, allocations: 0 / 1.011 GB, free: 19.41 MB / 0.5294 GB Notification: Performance of Templates: time 0.5043/3.164, allocations: 97.91 MB / 1.107 GB, free: 109.6 MB / 0.5294 GB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1)