Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_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.FundamentalWave.Examples.BasicMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001582/0.001583, allocations: 110.2 kB / 17.06 MB, free: 5.785 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.002179/0.002179, allocations: 195 kB / 18 MB, free: 4.945 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.444/1.444, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001179/0.001179, allocations: 43.94 kB / 327.9 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09868/0.09987, allocations: 46.63 MB / 374.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.2524/0.3523, allocations: 16.59 MB / 391.1 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01116/0.3635, allocations: 5.44 MB / 396.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00461/0.3682, allocations: 91.59 kB / 396.6 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005222/0.3734, allocations: 1.259 MB / 397.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009794/0.3833, allocations: 1.589 MB / 399.5 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005325/0.3886, allocations: 1.06 MB / 400.5 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01255/0.4012, allocations: 5.118 MB / 405.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007961/0.4092, allocations: 3.837 MB / 409.5 MB, free: 8.926 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005037/0.4142, allocations: 2.166 MB / 411.6 MB, free: 7.801 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005477/0.4197, allocations: 2.605 MB / 414.2 MB, free: 6.027 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001787/0.4215, allocations: 0.6136 MB / 414.9 MB, free: 6.027 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003298/0.4248, allocations: 0.8354 MB / 415.7 MB, free: 5.914 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002033/0.4269, allocations: 1.413 MB / 417.1 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004234/0.4311, allocations: 2.634 MB / 419.7 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009751/0.4409, allocations: 8.101 MB / 427.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.441, allocations: 0 / 427.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.441, allocations: 4 kB / 427.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002946/0.4413, allocations: 4 kB / 427.9 MB, free: 10.21 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01628/0.4576, allocations: 5.486 MB / 433.3 MB, free: 4.641 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.4576, allocations: 8.031 kB / 433.3 MB, free: 4.633 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005174/0.4628, allocations: 1.017 MB / 434.4 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006719/0.4696, allocations: 2.818 MB / 437.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002237/0.4698, allocations: 300.5 kB / 437.5 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006086/0.4704, allocations: 407.8 kB / 437.9 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009409/0.4798, allocations: 5.209 MB / 443.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.222e-05/0.48, allocations: 3.953 kB / 443.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003723/0.4803, allocations: 168 kB / 443.2 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001785/0.4805, allocations: 172 kB / 443.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007656/0.4882, allocations: 4.439 MB / 447.9 MB, free: 5.953 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02585/0.5141, allocations: 16.64 MB / 464.5 MB, free: 4.836 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007725/0.5218, allocations: 8.415 MB / 472.9 MB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002785/0.5246, allocations: 1.698 MB / 474.6 MB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008469/0.5331, allocations: 4.948 MB / 479.6 MB, free: 4.543 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.442e-05/0.5332, allocations: 59.8 kB / 479.6 MB, free: 4.477 MB / 398.1 MB Notification: Performance of pre-optimization done (n=156): time 4.318e-06/0.5332, allocations: 4 kB / 479.6 MB, free: 4.473 MB / 398.1 MB Notification: Performance of matching and sorting (n=159): time 0.01175/0.545, allocations: 6.165 MB / 485.8 MB, free: 14.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/0.5451, allocations: 68.72 kB / 485.9 MB, free: 14.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00346/0.5485, allocations: 2.29 MB / 488.1 MB, free: 11.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001043/0.5486, allocations: 57.7 kB / 488.2 MB, free: 11.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001293/0.5499, allocations: 1.897 MB / 490.1 MB, free: 9.773 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004212/0.5504, allocations: 0.5733 MB / 490.7 MB, free: 9.195 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005655/0.551, allocations: 395.9 kB / 491.1 MB, free: 8.801 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.5511, allocations: 301.1 kB / 491.4 MB, free: 8.504 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/0.5525, allocations: 0.8474 MB / 492.2 MB, free: 7.652 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001998/0.5545, allocations: 1.56 MB / 493.8 MB, free: 5.762 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003534/0.558, allocations: 2.555 MB / 496.3 MB, free: 2.887 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/0.5581, allocations: 8 kB / 496.3 MB, free: 2.879 MB / 414.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004995/0.5631, allocations: 2.893 MB / 499.2 MB, free: 15.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/0.5631, allocations: 16.53 kB / 499.2 MB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.068e-05/0.5631, allocations: 28 kB / 499.3 MB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003469/0.5635, allocations: 121.7 kB / 499.4 MB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001976/0.5655, allocations: 0.546 MB / 499.9 MB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/0.5673, allocations: 1.986 MB / 0.4901 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001871/0.5692, allocations: 119.9 kB / 0.4903 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001698/0.5694, allocations: 95.98 kB / 0.4904 GB, free: 12.91 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 267 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002176/0.5715, allocations: 1.192 MB / 0.4915 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000454/0.572, allocations: 258.3 kB / 0.4918 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004197/0.5762, allocations: 2.429 MB / 0.4941 GB, free: 8.961 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.5762, allocations: 16 kB / 0.4941 GB, free: 8.945 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.5763, allocations: 4 kB / 0.4942 GB, free: 8.941 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.685e-05/0.5763, allocations: 15.91 kB / 0.4942 GB, free: 8.926 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008947/0.5852, allocations: 5.772 MB / 0.4998 GB, free: 3.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.5853, allocations: 0 / 0.4998 GB, free: 3.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/0.5865, allocations: 287.6 kB / 0.5001 GB, free: 2.738 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008337/0.5874, allocations: 317.6 kB / 0.5004 GB, free: 2.422 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.5875, allocations: 39.92 kB / 0.5004 GB, free: 2.383 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006525/0.594, allocations: 6.966 MB / 0.5072 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.594, allocations: 7.938 kB / 0.5072 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005728/0.5998, allocations: 3.561 MB / 0.5107 GB, free: 7.336 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/0.6009, allocations: 0.4993 MB / 0.5112 GB, free: 6.816 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003114/0.6012, allocations: 39.98 kB / 0.5112 GB, free: 6.777 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.6023, allocations: 83.88 kB / 0.5113 GB, free: 6.695 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002805/0.6026, allocations: 117.1 kB / 0.5114 GB, free: 6.578 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/0.6027, allocations: 47.98 kB / 0.5115 GB, free: 6.531 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002286/0.605, allocations: 1.552 MB / 0.513 GB, free: 4.965 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.605, allocations: 0 / 0.513 GB, free: 4.965 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002201/0.6072, allocations: 0.668 MB / 0.5136 GB, free: 4.297 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003454/0.6076, allocations: 178.8 kB / 0.5138 GB, free: 4.113 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003739/0.6113, allocations: 2.273 MB / 0.516 GB, free: 1.816 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.6114, allocations: 0 / 0.516 GB, free: 1.816 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002249/0.6136, allocations: 1.441 MB / 0.5174 GB, free: 344 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00251/0.6161, allocations: 0.591 MB / 0.518 GB, free: 15.74 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/0.6283, allocations: 7.02 MB / 0.5249 GB, free: 8.664 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0024/0.6307, allocations: 2.653 MB / 0.5275 GB, free: 5.988 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002026/0.6328, allocations: 0.5552 MB / 0.528 GB, free: 5.43 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00049/0.6333, allocations: 167.4 kB / 0.5282 GB, free: 5.266 MB / 462.1 MB Notification: Performance of SimCode: time 9.12e-07/0.6333, allocations: 0 / 0.5282 GB, free: 5.266 MB / 462.1 MB Notification: Performance of Templates: time 0.2489/0.8822, allocations: 30.8 MB / 0.5582 GB, free: 148.4 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe 2>&1)