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_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.2_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.2_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.001198/0.001198, allocations: 107.3 kB / 16.92 MB, free: 5.77 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.00118/0.001181, allocations: 191.3 kB / 17.85 MB, free: 5.168 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.424/1.424, allocations: 205.1 MB / 223.7 MB, free: 12.32 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.00144/0.00144, allocations: 55.92 kB / 280 MB, free: 3.148 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1294, allocations: 46.62 MB / 326.6 MB, free: 4.453 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04174/0.1712, allocations: 38.34 MB / 365 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02925/0.2005, allocations: 10.02 MB / 375 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01139/0.212, allocations: 247.1 kB / 375.3 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2867/0.4987, allocations: 10.17 MB / 385.4 MB, free: 11.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01707/0.5158, allocations: 4.072 MB / 389.5 MB, free: 11.79 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0101/0.5259, allocations: 2.427 MB / 391.9 MB, free: 11.72 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02667/0.5526, allocations: 16.42 MB / 408.3 MB, free: 7.848 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06565/0.6183, allocations: 31.43 MB / 439.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02036/0.6387, allocations: 8.517 MB / 448.3 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02055/0.6593, allocations: 9.457 MB / 457.7 MB, free: 11.58 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009342/0.6687, allocations: 2.434 MB / 460.2 MB, free: 9.145 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01256/0.6813, allocations: 2.827 MB / 463 MB, free: 6.332 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01108/0.6924, allocations: 4.877 MB / 467.9 MB, free: 1.516 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02501/0.7175, allocations: 9.284 MB / 477.2 MB, free: 8.258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04328/0.7608, allocations: 31.94 MB / 0.4972 GB, free: 8.852 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.7608, allocations: 0 / 0.4972 GB, free: 8.852 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.7608, allocations: 0 / 0.4972 GB, free: 8.852 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.001085/0.7619, allocations: 7.984 kB / 0.4972 GB, free: 8.844 MB / 414.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.0692/0.8311, allocations: 18.91 MB / 0.5157 GB, free: 5.949 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.8312, allocations: 8.031 kB / 0.5157 GB, free: 5.941 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05185/0.8831, allocations: 9.237 MB / 0.5247 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02419/0.9073, allocations: 9.16 MB / 0.5336 GB, free: 3.629 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001448/0.9088, allocations: 1.076 MB / 0.5347 GB, free: 2.562 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009414/0.9182, allocations: 1.418 MB / 0.5361 GB, free: 1.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.457/1.375, allocations: 23.2 MB / 0.5587 GB, free: 127.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006678/1.376, allocations: 15.03 kB / 0.5587 GB, free: 127.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005605/1.382, allocations: 0.5842 MB / 0.5593 GB, free: 126.9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007239/1.382, allocations: 0.8047 MB / 0.5601 GB, free: 126.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04647/1.429, allocations: 21.68 MB / 0.5813 GB, free: 115.9 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1244/1.553, allocations: 74.17 MB / 0.6537 GB, free: 41.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03769/1.591, allocations: 53.55 MB / 0.706 GB, free: 13.18 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01086/1.602, allocations: 5.382 MB / 0.7112 GB, free: 7.773 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3002/1.902, allocations: 15.48 MB / 0.7264 GB, free: 150 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.679e-05/1.902, allocations: 90.12 kB / 0.7264 GB, free: 149.9 MB / 478.1 MB Notification: Performance of pre-optimization done (n=498): time 7.103e-06/1.902, allocations: 5.438 kB / 0.7265 GB, free: 149.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=506): time 0.06123/1.964, allocations: 26.94 MB / 0.7528 GB, free: 138.7 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/1.964, allocations: 132.5 kB / 0.7529 GB, free: 138.6 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008371/1.972, allocations: 5.912 MB / 0.7587 GB, free: 136.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009915/1.973, allocations: 109.1 kB / 0.7588 GB, free: 136.4 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003337/1.976, allocations: 6.287 MB / 0.7649 GB, free: 131.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001888/1.978, allocations: 1.734 MB / 0.7666 GB, free: 130.3 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002156/1.98, allocations: 1.531 MB / 0.7681 GB, free: 129.6 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.727e-05/1.98, allocations: 305.1 kB / 0.7684 GB, free: 129.3 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006374/1.987, allocations: 3.687 MB / 0.772 GB, free: 127.9 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008751/1.996, allocations: 6.77 MB / 0.7786 GB, free: 122.5 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01381/2.009, allocations: 11.14 MB / 0.7895 GB, free: 114.7 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001689/2.01, allocations: 28.97 kB / 0.7895 GB, free: 114.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.02424/2.034, allocations: 12.4 MB / 0.8016 GB, free: 104 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.394e-05/2.034, allocations: 48 kB / 0.8017 GB, free: 103.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001655/2.034, allocations: 100 kB / 0.8018 GB, free: 103.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003933/2.038, allocations: 1.615 MB / 0.8033 GB, free: 102.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005996/2.044, allocations: 1.747 MB / 0.805 GB, free: 100.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02051/2.065, allocations: 19.64 MB / 0.8242 GB, free: 80.16 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008075/2.073, allocations: 444.6 kB / 0.8246 GB, free: 79.73 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00207/2.075, allocations: 388 kB / 0.825 GB, free: 79.35 MB / 478.1 MB 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.01473/2.09, allocations: 5.26 MB / 0.8301 GB, free: 74.08 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002723/2.092, allocations: 0.6019 MB / 0.8307 GB, free: 73.47 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01585/2.108, allocations: 9.382 MB / 0.8399 GB, free: 64 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009271/2.118, allocations: 5.868 MB / 0.8456 GB, free: 58.1 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-05/2.118, allocations: 23.98 kB / 0.8457 GB, free: 58.08 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001085/2.118, allocations: 23.91 kB / 0.8457 GB, free: 58.05 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04784/2.166, allocations: 21.11 MB / 0.8663 GB, free: 36.83 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.593e-05/2.166, allocations: 4 kB / 0.8663 GB, free: 36.83 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003806/2.17, allocations: 0.862 MB / 0.8671 GB, free: 35.96 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004575/2.174, allocations: 1.653 MB / 0.8688 GB, free: 34.29 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009955/2.175, allocations: 128 kB / 0.8689 GB, free: 34.16 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3075/2.483, allocations: 23.21 MB / 0.8915 GB, free: 134.4 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.819e-06/2.483, allocations: 8 kB / 0.8916 GB, free: 134.4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02681/2.51, allocations: 13.72 MB / 0.905 GB, free: 130.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004772/2.515, allocations: 1.365 MB / 0.9063 GB, free: 130.4 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001921/2.516, allocations: 108.7 kB / 0.9064 GB, free: 130.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003882/2.52, allocations: 288 kB / 0.9067 GB, free: 130.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001188/2.522, allocations: 404.7 kB / 0.907 GB, free: 130.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000366/2.522, allocations: 153.9 kB / 0.9072 GB, free: 130.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.006525/2.528, allocations: 3.971 MB / 0.9111 GB, free: 128.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.61e-07/2.528, allocations: 2 kB / 0.9111 GB, free: 128.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01371/2.542, allocations: 2.366 MB / 0.9134 GB, free: 128.6 MB / 478.1 MB 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.001609/2.544, allocations: 322.4 kB / 0.9137 GB, free: 128.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.03175/2.576, allocations: 16 MB / 0.9293 GB, free: 124.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.548e-05/2.576, allocations: 3.938 kB / 0.9293 GB, free: 124.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009877/2.586, allocations: 5.463 MB / 0.9347 GB, free: 121.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0123/2.598, allocations: 1.643 MB / 0.9363 GB, free: 120.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05287/2.651, allocations: 25.25 MB / 0.9609 GB, free: 101.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01522/2.666, allocations: 8.924 MB / 0.9696 GB, free: 94.5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.008687/2.675, allocations: 2.597 MB / 0.9722 GB, free: 92.73 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001768/2.677, allocations: 462.4 kB / 0.9726 GB, free: 92.3 MB / 478.1 MB Notification: Performance of SimCode: time 9.32e-07/2.677, allocations: 0 / 0.9726 GB, free: 92.3 MB / 478.1 MB Notification: Performance of Templates: time 0.4297/3.106, allocations: 102.7 MB / 1.073 GB, free: 126.8 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1)