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_Initialize.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_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=300000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=300000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009537/0.0009537, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001225/0.001225, allocations: 172.7 kB / 15.95 MB, free: 208 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.364/1.364, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.0004731/0.0004732, allocations: 14.81 kB / 278.9 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2037, allocations: 47.58 MB / 326.5 MB, free: 1.434 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.02996/0.2337, allocations: 28.83 MB / 355.3 MB, free: 6.562 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01978/0.2535, allocations: 8.332 MB / 363.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009456/0.263, allocations: 191.2 kB / 363.8 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007464/0.2705, allocations: 1.635 MB / 365.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01129/0.2819, allocations: 3.063 MB / 368.5 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005505/0.2874, allocations: 1.399 MB / 369.9 MB, free: 7.902 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02144/0.3089, allocations: 15.84 MB / 385.8 MB, free: 8.012 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03854/0.3474, allocations: 17.6 MB / 403.4 MB, free: 6.309 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008529/0.356, allocations: 4.84 MB / 408.2 MB, free: 1.453 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009002/0.365, allocations: 5.53 MB / 413.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002729/0.3678, allocations: 0.7305 MB / 414.5 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004758/0.3726, allocations: 1.062 MB / 415.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003898/0.3765, allocations: 2.41 MB / 417.9 MB, free: 7.691 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005122/0.3816, allocations: 2.414 MB / 420.4 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02398/0.4056, allocations: 21.1 MB / 441.5 MB, free: 108 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.4057, allocations: 0 / 441.5 MB, free: 108 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.4057, allocations: 0 / 441.5 MB, free: 108 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0008011/0.4065, allocations: 0 / 441.5 MB, free: 108 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3009 * Number of variables: 3009 Notification: Performance of Generate backend data structure: time 0.03539/0.4419, allocations: 12.49 MB / 454 MB, free: 3.504 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.4419, allocations: 8.031 kB / 454 MB, free: 3.496 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3597/0.8016, allocations: 7.763 MB / 461.7 MB, free: 92.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01555/0.8172, allocations: 7.189 MB / 468.9 MB, free: 88.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006947/0.818, allocations: 0.8126 MB / 469.7 MB, free: 88.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004008/0.822, allocations: 1.068 MB / 470.8 MB, free: 88.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04402/0.866, allocations: 17.6 MB / 488.4 MB, free: 75.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005225/0.8666, allocations: 19.89 kB / 488.4 MB, free: 75.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003696/0.8703, allocations: 444.5 kB / 488.8 MB, free: 74.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006215/0.871, allocations: 0.6514 MB / 489.5 MB, free: 73.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03323/0.9042, allocations: 16.91 MB / 0.4945 GB, free: 57.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.088/0.9923, allocations: 57.29 MB / 0.5505 GB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03536/1.028, allocations: 40 MB / 0.5896 GB, free: 1.871 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00833/1.036, allocations: 4.521 MB / 0.594 GB, free: 13.35 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02576/1.062, allocations: 12.72 MB / 0.6064 GB, free: 0.625 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.512e-05/1.062, allocations: 81.75 kB / 0.6065 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of pre-optimization done (n=398): time 5.631e-06/1.062, allocations: 0 / 0.6065 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of matching and sorting (n=423): time 0.2277/1.29, allocations: 23.65 MB / 0.6296 GB, free: 155.3 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.328e-05/1.29, allocations: 120.8 kB / 0.6297 GB, free: 155.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006276/1.296, allocations: 4.787 MB / 0.6344 GB, free: 153.4 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005739/1.297, allocations: 92.52 kB / 0.6344 GB, free: 153.3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001955/1.299, allocations: 4.8 MB / 0.6391 GB, free: 149.7 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009974/1.3, allocations: 1.457 MB / 0.6406 GB, free: 148.6 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003057/1.3, allocations: 123.6 kB / 0.6407 GB, free: 148.5 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002277/1.3, allocations: 0.5476 MB / 0.6412 GB, free: 148.1 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003626/1.304, allocations: 2.951 MB / 0.6441 GB, free: 146.9 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004481/1.308, allocations: 5.224 MB / 0.6492 GB, free: 142.9 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005041/1.313, allocations: 4.05 MB / 0.6531 GB, free: 141.1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-05/1.313, allocations: 23.47 kB / 0.6532 GB, free: 141.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=803) (initialization): time 0.01533/1.329, allocations: 10.01 MB / 0.6629 GB, free: 136.9 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.808e-05/1.329, allocations: 41.94 kB / 0.663 GB, free: 136.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001059/1.329, allocations: 72.5 kB / 0.663 GB, free: 136.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003822/1.333, allocations: 1.683 MB / 0.6647 GB, free: 136.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004949/1.338, allocations: 1.396 MB / 0.6661 GB, free: 136.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01729/1.355, allocations: 16.48 MB / 0.6821 GB, free: 120.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004679/1.36, allocations: 347.7 kB / 0.6825 GB, free: 120.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008906/1.361, allocations: 296 kB / 0.6828 GB, free: 119.9 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * 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 (710): * Single equations (assignments): 706 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(7,61.2%) 28,(1,100.0%) 1,(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005587/1.366, allocations: 3.954 MB / 0.6866 GB, free: 116 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001114/1.367, allocations: 0.5017 MB / 0.6871 GB, free: 115.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01081/1.378, allocations: 7.8 MB / 0.6947 GB, free: 107.6 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.313e-05/1.378, allocations: 44 kB / 0.6948 GB, free: 107.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.222e-05/1.378, allocations: 16 kB / 0.6948 GB, free: 107.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.276e-05/1.378, allocations: 23.92 kB / 0.6948 GB, free: 107.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02241/1.401, allocations: 17.53 MB / 0.7119 GB, free: 89.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/1.401, allocations: 4.125 kB / 0.7119 GB, free: 89.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002793/1.404, allocations: 0.7294 MB / 0.7126 GB, free: 89.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003401/1.407, allocations: 1.546 MB / 0.7142 GB, free: 87.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000426/1.407, allocations: 104 kB / 0.7143 GB, free: 87.39 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01697/1.424, allocations: 19.5 MB / 0.7333 GB, free: 66.99 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.424, allocations: 8 kB / 0.7333 GB, free: 66.98 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01428/1.439, allocations: 11.44 MB / 0.7445 GB, free: 55.37 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002225/1.441, allocations: 1.174 MB / 0.7456 GB, free: 54.17 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006498/1.442, allocations: 92.3 kB / 0.7457 GB, free: 54.08 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002089/1.444, allocations: 243.8 kB / 0.7459 GB, free: 53.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005846/1.444, allocations: 327.2 kB / 0.7463 GB, free: 53.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002381/1.445, allocations: 132 kB / 0.7464 GB, free: 53.39 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003825/1.448, allocations: 3.22 MB / 0.7495 GB, free: 50.18 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/1.448, allocations: 0 / 0.7495 GB, free: 50.18 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006698/1.455, allocations: 1.897 MB / 0.7514 GB, free: 48.29 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.strayReluctance.Phi.re,imc.stator.strayReluctance.Phi.im,loadInertia.phi) * 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 (364): * Single equations (assignments): 357 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(14,40.8%) 44,(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 12,(1,100.0%) 5,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007983/1.456, allocations: 270.8 kB / 0.7516 GB, free: 48.02 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0174/1.473, allocations: 8.19 MB / 0.7596 GB, free: 39.77 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.26e-05/1.473, allocations: 0 / 0.7596 GB, free: 39.77 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009996/1.483, allocations: 4.656 MB / 0.7642 GB, free: 35.02 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009067/1.493, allocations: 1.261 MB / 0.7654 GB, free: 33.76 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2288/1.721, allocations: 23.33 MB / 0.7882 GB, free: 148.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01199/1.733, allocations: 6.85 MB / 0.7949 GB, free: 147.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.007223/1.741, allocations: 1.935 MB / 0.7968 GB, free: 147 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001787/1.743, allocations: 380.4 kB / 0.7971 GB, free: 147 MB / 462.1 MB Notification: Performance of SimCode: time 1.102e-06/1.743, allocations: 0 / 0.7971 GB, free: 147 MB / 462.1 MB Notification: Performance of Templates: time 0.1219/1.864, allocations: 79.73 MB / 0.875 GB, free: 81.91 MB / 462.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1)