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_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.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.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.006233/0.006233, allocations: 103.2 kB / 15.73 MB, free: 5.957 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.001354/0.001354, allocations: 191.4 kB / 16.67 MB, free: 5.887 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.517/1.517, allocations: 205.1 MB / 222.6 MB, free: 4.48 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.00118/0.00118, allocations: 47.67 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1103, allocations: 46.63 MB / 373.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.03903/0.1494, allocations: 38.35 MB / 411.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02343/0.1729, allocations: 10.01 MB / 421.6 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009318/0.1822, allocations: 247.1 kB / 421.8 MB, free: 500 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02589/0.2082, allocations: 10.26 MB / 432.1 MB, free: 6.184 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01883/0.2271, allocations: 4.169 MB / 436.2 MB, free: 1.992 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01058/0.2377, allocations: 2.421 MB / 438.7 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.5768/0.8145, allocations: 16.52 MB / 455.2 MB, free: 6.844 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04937/0.8639, allocations: 31.18 MB / 486.4 MB, free: 2.117 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01937/0.8833, allocations: 8.918 MB / 495.3 MB, free: 0 / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01772/0.9011, allocations: 9.447 MB / 0.4929 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00768/0.9088, allocations: 2.43 MB / 0.4953 GB, free: 7.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01231/0.9211, allocations: 2.82 MB / 0.498 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008898/0.9301, allocations: 4.863 MB / 0.5028 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02121/0.9513, allocations: 9.286 MB / 0.5118 GB, free: 8.023 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04391/0.9952, allocations: 32.12 MB / 0.5432 GB, free: 10.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.9953, allocations: 0 / 0.5432 GB, free: 10.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.9953, allocations: 0 / 0.5432 GB, free: 10.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001041/0.9964, allocations: 8 kB / 0.5432 GB, free: 10.28 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.06377/1.06, allocations: 18.85 MB / 0.5616 GB, free: 7.453 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/1.06, allocations: 8.031 kB / 0.5616 GB, free: 7.445 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05207/1.112, allocations: 9.287 MB / 0.5707 GB, free: 14.24 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02532/1.138, allocations: 9.193 MB / 0.5797 GB, free: 5.422 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001325/1.139, allocations: 1.073 MB / 0.5807 GB, free: 4.363 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009242/1.148, allocations: 1.414 MB / 0.5821 GB, free: 2.961 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06932/1.218, allocations: 23.2 MB / 0.6048 GB, free: 11.71 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007076/1.218, allocations: 19.55 kB / 0.6048 GB, free: 11.7 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00642/1.225, allocations: 0.5866 MB / 0.6054 GB, free: 11.12 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008969/1.226, allocations: 0.8071 MB / 0.6061 GB, free: 10.32 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0507/1.276, allocations: 21.69 MB / 0.6273 GB, free: 4.621 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.442/1.718, allocations: 73.25 MB / 0.6989 GB, free: 120.5 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02995/1.748, allocations: 53.56 MB / 0.7512 GB, free: 67.45 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008072/1.757, allocations: 5.341 MB / 0.7564 GB, free: 63.53 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02747/1.784, allocations: 15.43 MB / 0.7714 GB, free: 48.14 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.452e-05/1.784, allocations: 90.7 kB / 0.7715 GB, free: 48.04 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=498): time 7.945e-06/1.784, allocations: 0 / 0.7715 GB, free: 48.04 MB / 0.5138 GB Notification: Performance of matching and sorting (n=506): time 0.05722/1.841, allocations: 26.95 MB / 0.7978 GB, free: 20.76 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/1.842, allocations: 129.3 kB / 0.798 GB, free: 20.62 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01025/1.852, allocations: 5.899 MB / 0.8037 GB, free: 14.75 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001044/1.853, allocations: 109.7 kB / 0.8038 GB, free: 14.63 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003247/1.856, allocations: 6.287 MB / 0.81 GB, free: 8.309 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001904/1.858, allocations: 1.743 MB / 0.8117 GB, free: 6.582 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004431/1.863, allocations: 1.521 MB / 0.8132 GB, free: 5.055 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.977e-05/1.863, allocations: 313 kB / 0.8135 GB, free: 4.746 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00553/1.868, allocations: 3.681 MB / 0.8171 GB, free: 1.062 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009087/1.877, allocations: 6.768 MB / 0.8237 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3045/2.182, allocations: 11.15 MB / 0.8346 GB, free: 165.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001405/2.182, allocations: 28.78 kB / 0.8346 GB, free: 165.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.03228/2.214, allocations: 12.39 MB / 0.8467 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001352/2.214, allocations: 56.16 kB / 0.8467 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002182/2.215, allocations: 99.72 kB / 0.8468 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004551/2.219, allocations: 1.606 MB / 0.8484 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006784/2.226, allocations: 1.74 MB / 0.8501 GB, free: 162.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02321/2.249, allocations: 19.62 MB / 0.8693 GB, free: 149.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008923/2.258, allocations: 446.4 kB / 0.8697 GB, free: 149 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002158/2.26, allocations: 387 kB / 0.8701 GB, free: 148.9 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.0122/2.273, allocations: 5.248 MB / 0.8752 GB, free: 146.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002482/2.275, allocations: 0.6045 MB / 0.8758 GB, free: 146.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02068/2.296, allocations: 9.376 MB / 0.8849 GB, free: 142.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01054/2.306, allocations: 5.873 MB / 0.8907 GB, free: 140.2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.785e-05/2.307, allocations: 23.69 kB / 0.8907 GB, free: 140.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001135/2.307, allocations: 25.36 kB / 0.8907 GB, free: 140.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04427/2.351, allocations: 21.08 MB / 0.9113 GB, free: 123.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-05/2.351, allocations: 4 kB / 0.9113 GB, free: 123.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003602/2.355, allocations: 0.8627 MB / 0.9121 GB, free: 122.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00437/2.359, allocations: 1.637 MB / 0.9137 GB, free: 121 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009429/2.36, allocations: 131.8 kB / 0.9139 GB, free: 120.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02246/2.382, allocations: 23.21 MB / 0.9365 GB, free: 96.92 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/2.382, allocations: 11.94 kB / 0.9365 GB, free: 96.91 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02367/2.406, allocations: 13.73 MB / 0.9499 GB, free: 82.96 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004706/2.411, allocations: 1.364 MB / 0.9513 GB, free: 81.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002614/2.414, allocations: 112 kB / 0.9514 GB, free: 81.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004877/2.418, allocations: 275.7 kB / 0.9517 GB, free: 81.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001812/2.42, allocations: 412.4 kB / 0.952 GB, free: 80.79 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00104/2.421, allocations: 152 kB / 0.9522 GB, free: 80.64 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.009429/2.431, allocations: 3.973 MB / 0.9561 GB, free: 76.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.433e-06/2.431, allocations: 0 / 0.9561 GB, free: 76.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01546/2.446, allocations: 2.376 MB / 0.9584 GB, free: 74.33 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.002561/2.449, allocations: 316 kB / 0.9587 GB, free: 74.02 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02198/2.471, allocations: 10.02 MB / 0.9685 GB, free: 63.91 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.959e-05/2.471, allocations: 8.062 kB / 0.9685 GB, free: 63.91 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.009795/2.481, allocations: 5.455 MB / 0.9738 GB, free: 58.37 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01147/2.492, allocations: 1.636 MB / 0.9754 GB, free: 56.75 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05586/2.548, allocations: 24.95 MB / 0.9998 GB, free: 31.71 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01877/2.567, allocations: 8.926 MB / 1.008 GB, free: 22.75 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.01007/2.577, allocations: 2.591 MB / 1.011 GB, free: 20.15 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002708/2.58, allocations: 467.4 kB / 1.011 GB, free: 19.7 MB / 0.5294 GB Notification: Performance of SimCode: time 7.41e-07/2.58, allocations: 3.938 kB / 1.011 GB, free: 19.69 MB / 0.5294 GB Notification: Performance of Templates: time 0.4909/3.071, allocations: 97.9 MB / 1.107 GB, free: 110 MB / 0.5294 GB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1)