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.000806/0.0008062, allocations: 97.95 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.005565/0.005565, allocations: 168.8 kB / 16.26 MB, free: 6.66 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.435/1.435, allocations: 205.4 MB / 222.4 MB, free: 5.785 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.0004823/0.0004824, allocations: 8 kB / 279.5 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3104, allocations: 47.58 MB / 327.1 MB, free: 1.379 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.03934/0.3498, allocations: 36.16 MB / 363.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02964/0.3795, allocations: 9.843 MB / 373.1 MB, free: 5.223 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0113/0.3908, allocations: 231.1 kB / 373.3 MB, free: 4.996 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01115/0.402, allocations: 2.457 MB / 375.8 MB, free: 2.527 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0195/0.4216, allocations: 3.713 MB / 379.5 MB, free: 14.8 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01098/0.4326, allocations: 2.136 MB / 381.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02681/0.4594, allocations: 16.82 MB / 398.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06431/0.5237, allocations: 29.31 MB / 427.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0141/0.5379, allocations: 5.982 MB / 433.7 MB, free: 8.273 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01669/0.5546, allocations: 7.313 MB / 441 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005848/0.5605, allocations: 0.9415 MB / 442 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009087/0.5696, allocations: 1.339 MB / 443.3 MB, free: 14.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007269/0.5769, allocations: 3.09 MB / 446.4 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01898/0.5959, allocations: 7.349 MB / 453.7 MB, free: 4.156 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4874/1.083, allocations: 30.12 MB / 483.9 MB, free: 38.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.083, allocations: 0 / 483.9 MB, free: 38.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.976e-06/1.083, allocations: 2.062 kB / 483.9 MB, free: 38.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001061/1.084, allocations: 0 / 483.9 MB, free: 38.23 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: 3978 * Number of variables: 3978 Notification: Performance of Generate backend data structure: time 0.04956/1.134, allocations: 15.73 MB / 499.6 MB, free: 30.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/1.134, allocations: 12.97 kB / 499.6 MB, free: 30.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04846/1.183, allocations: 9.27 MB / 0.497 GB, free: 26.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0208/1.203, allocations: 9.154 MB / 0.5059 GB, free: 22.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001039/1.204, allocations: 1.071 MB / 0.5069 GB, free: 21.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006375/1.211, allocations: 1.414 MB / 0.5083 GB, free: 20.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06308/1.274, allocations: 23.25 MB / 0.531 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005967/1.275, allocations: 15.81 kB / 0.531 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005844/1.28, allocations: 0.5906 MB / 0.5316 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009375/1.281, allocations: 0.7993 MB / 0.5324 GB, free: 14.28 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05355/1.335, allocations: 21.73 MB / 0.5536 GB, free: 8.551 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.372/1.707, allocations: 74.4 MB / 0.6263 GB, free: 127.9 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.033/1.74, allocations: 53.55 MB / 0.6786 GB, free: 81.23 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008577/1.749, allocations: 5.454 MB / 0.6839 GB, free: 81.12 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02662/1.775, allocations: 15.62 MB / 0.6992 GB, free: 75.1 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.206e-05/1.775, allocations: 84.34 kB / 0.6992 GB, free: 75.02 MB / 462.1 MB Notification: Performance of pre-optimization done (n=504): time 6.682e-06/1.775, allocations: 0 / 0.6992 GB, free: 75.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=512): time 0.06034/1.836, allocations: 26.97 MB / 0.7256 GB, free: 49.31 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.693e-05/1.836, allocations: 132.5 kB / 0.7257 GB, free: 49.16 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01177/1.848, allocations: 5.903 MB / 0.7315 GB, free: 43.29 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001133/1.849, allocations: 109.7 kB / 0.7316 GB, free: 43.18 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00365/1.853, allocations: 6.283 MB / 0.7377 GB, free: 36.86 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002139/1.855, allocations: 1.759 MB / 0.7394 GB, free: 35.11 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008792/1.856, allocations: 0.6166 MB / 0.74 GB, free: 34.49 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.241e-05/1.856, allocations: 301.1 kB / 0.7403 GB, free: 34.2 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005128/1.861, allocations: 3.743 MB / 0.744 GB, free: 30.45 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005997/1.867, allocations: 6.824 MB / 0.7506 GB, free: 22.21 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01193/1.879, allocations: 11.24 MB / 0.7616 GB, free: 9.52 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.384e-05/1.879, allocations: 35.28 kB / 0.7616 GB, free: 9.488 MB / 462.1 MB Notification: Performance of matching and sorting (n=1007) (initialization): time 0.02148/1.9, allocations: 12.51 MB / 0.7739 GB, free: 12.92 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.738e-05/1.9, allocations: 55.98 kB / 0.7739 GB, free: 12.87 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001807/1.901, allocations: 100 kB / 0.774 GB, free: 12.77 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004616/1.905, allocations: 1.595 MB / 0.7756 GB, free: 11.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007391/1.913, allocations: 1.739 MB / 0.7773 GB, free: 9.414 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2545/2.167, allocations: 18.22 MB / 0.7951 GB, free: 150.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006632/2.174, allocations: 447 kB / 0.7955 GB, free: 150.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001293/2.175, allocations: 383.9 kB / 0.7959 GB, free: 150.9 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 (907): * Single equations (assignments): 897 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.9%), (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.009775/2.185, allocations: 5.256 MB / 0.801 GB, free: 148.7 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001464/2.186, allocations: 0.6093 MB / 0.8016 GB, free: 148.7 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01542/2.202, allocations: 9.484 MB / 0.8108 GB, free: 144.8 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008548/2.21, allocations: 5.961 MB / 0.8167 GB, free: 142.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.187e-05/2.211, allocations: 22.53 kB / 0.8167 GB, free: 142.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.38e-05/2.211, allocations: 25.27 kB / 0.8167 GB, free: 142.5 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03798/2.249, allocations: 21.25 MB / 0.8375 GB, free: 130.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-05/2.249, allocations: 5.203 kB / 0.8375 GB, free: 130.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003565/2.252, allocations: 0.864 MB / 0.8383 GB, free: 129.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004321/2.257, allocations: 1.645 MB / 0.8399 GB, free: 128.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005797/2.257, allocations: 126.7 kB / 0.84 GB, free: 128.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0206/2.278, allocations: 21.39 MB / 0.8609 GB, free: 107.8 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.283e-06/2.278, allocations: 7.938 kB / 0.8609 GB, free: 107.8 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02313/2.301, allocations: 13.89 MB / 0.8745 GB, free: 93.87 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004177/2.305, allocations: 1.383 MB / 0.8758 GB, free: 92.77 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002395/2.308, allocations: 108 kB / 0.876 GB, free: 92.67 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00485/2.312, allocations: 299.6 kB / 0.8762 GB, free: 92.38 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001422/2.314, allocations: 408.4 kB / 0.8766 GB, free: 91.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006579/2.315, allocations: 152 kB / 0.8768 GB, free: 91.83 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.009181/2.324, allocations: 3.965 MB / 0.8806 GB, free: 87.89 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.51e-07/2.324, allocations: 0 / 0.8806 GB, free: 87.89 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01147/2.335, allocations: 2.379 MB / 0.883 GB, free: 85.52 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 (441): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,53.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001092/2.336, allocations: 317.4 kB / 0.8833 GB, free: 85.23 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01585/2.352, allocations: 10.1 MB / 0.8931 GB, free: 75.03 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/2.352, allocations: 0 / 0.8931 GB, free: 75.03 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009219/2.361, allocations: 5.508 MB / 0.8985 GB, free: 69.45 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01713/2.379, allocations: 1.546 MB / 0.9 GB, free: 67.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0626/2.441, allocations: 31.49 MB / 0.9308 GB, free: 36.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01994/2.461, allocations: 8.926 MB / 0.9395 GB, free: 27.34 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.01119/2.473, allocations: 2.591 MB / 0.942 GB, free: 24.74 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002757/2.475, allocations: 467.3 kB / 0.9425 GB, free: 24.29 MB / 478.1 MB Notification: Performance of SimCode: time 1.573e-06/2.475, allocations: 4 kB / 0.9425 GB, free: 24.28 MB / 478.1 MB Notification: Performance of Templates: time 0.3922/2.868, allocations: 98.19 MB / 1.038 GB, free: 86.47 MB / 478.1 MB 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)