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.001166/0.001166, allocations: 110.3 kB / 17.06 MB, free: 6.129 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.00126/0.00126, allocations: 191 kB / 18 MB, free: 5.207 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.398/1.398, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.001341/0.001341, allocations: 47.92 kB / 327.9 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09579/0.09714, allocations: 46.61 MB / 374.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.2369/0.3341, allocations: 16.58 MB / 391.1 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01276/0.3469, allocations: 5.443 MB / 396.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004958/0.352, allocations: 92.97 kB / 396.6 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005182/0.3572, allocations: 1.281 MB / 397.9 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009266/0.3665, allocations: 1.642 MB / 399.5 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004236/0.3707, allocations: 1.06 MB / 400.6 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01151/0.3823, allocations: 5.123 MB / 405.7 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007952/0.3903, allocations: 3.84 MB / 409.6 MB, free: 8.867 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006077/0.3964, allocations: 2.188 MB / 411.7 MB, free: 7.719 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01009/0.4065, allocations: 2.602 MB / 414.3 MB, free: 5.949 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003071/0.4097, allocations: 0.612 MB / 415 MB, free: 5.949 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004989/0.4147, allocations: 0.8287 MB / 415.8 MB, free: 5.844 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003218/0.4179, allocations: 1.417 MB / 417.2 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007439/0.4254, allocations: 2.633 MB / 419.8 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01421/0.4396, allocations: 8.077 MB / 427.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.4397, allocations: 0 / 427.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4397, allocations: 4 kB / 427.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003675/0.4401, allocations: 4 kB / 427.9 MB, free: 10.13 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.01855/0.4587, allocations: 5.378 MB / 433.3 MB, free: 4.672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.4587, allocations: 8.031 kB / 433.3 MB, free: 4.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006532/0.4653, allocations: 0.9869 MB / 434.3 MB, free: 3.672 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009491/0.4748, allocations: 2.8 MB / 437.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004099/0.4753, allocations: 308.5 kB / 437.4 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001895/0.4772, allocations: 391.9 kB / 437.8 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01475/0.492, allocations: 5.213 MB / 443 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001949/0.4922, allocations: 3.906 kB / 443 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001348/0.4935, allocations: 176 kB / 443.2 MB, free: 10.65 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001981/0.4938, allocations: 168 kB / 443.3 MB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01082/0.5046, allocations: 4.443 MB / 447.8 MB, free: 6.023 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03445/0.5391, allocations: 16.59 MB / 464.4 MB, free: 4.953 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008803/0.5479, allocations: 8.417 MB / 472.8 MB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003124/0.5511, allocations: 1.69 MB / 474.5 MB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009272/0.5604, allocations: 4.951 MB / 479.4 MB, free: 4.664 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.231e-05/0.5605, allocations: 47.88 kB / 479.5 MB, free: 4.609 MB / 398.1 MB Notification: Performance of pre-optimization done (n=156): time 3.767e-06/0.5605, allocations: 0 / 479.5 MB, free: 4.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=159): time 0.01271/0.5732, allocations: 6.107 MB / 485.6 MB, free: 14.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.5733, allocations: 72.7 kB / 485.7 MB, free: 14.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004455/0.5778, allocations: 2.286 MB / 487.9 MB, free: 11.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001834/0.578, allocations: 53.7 kB / 488 MB, free: 11.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001501/0.5795, allocations: 1.852 MB / 489.8 MB, free: 10 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000559/0.5801, allocations: 0.5469 MB / 490.4 MB, free: 9.449 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000715/0.5808, allocations: 391.6 kB / 490.8 MB, free: 9.059 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.5809, allocations: 305.1 kB / 491.1 MB, free: 8.758 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001552/0.5825, allocations: 0.8436 MB / 491.9 MB, free: 7.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002045/0.5845, allocations: 1.556 MB / 493.5 MB, free: 6.023 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0037/0.5882, allocations: 2.559 MB / 496 MB, free: 3.145 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.262e-05/0.5883, allocations: 11.94 kB / 496 MB, free: 3.133 MB / 414.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005431/0.5937, allocations: 2.876 MB / 498.9 MB, free: 228 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.004e-05/0.5938, allocations: 16.47 kB / 498.9 MB, free: 212 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.541e-05/0.5938, allocations: 24 kB / 499 MB, free: 188 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004009/0.5942, allocations: 125.7 kB / 499.1 MB, free: 56 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001999/0.5963, allocations: 0.5421 MB / 499.6 MB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001933/0.5982, allocations: 1.993 MB / 0.4899 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002169/0.6004, allocations: 111.9 kB / 0.49 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000202/0.6006, allocations: 99.98 kB / 0.4901 GB, free: 13.18 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.002444/0.6031, allocations: 1.192 MB / 0.4912 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007318/0.6038, allocations: 248.9 kB / 0.4915 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004748/0.6086, allocations: 2.429 MB / 0.4938 GB, free: 9.238 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/0.6086, allocations: 16 kB / 0.4938 GB, free: 9.223 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.099e-05/0.6087, allocations: 4 kB / 0.4938 GB, free: 9.219 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.628e-05/0.6087, allocations: 11.97 kB / 0.4939 GB, free: 9.207 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01139/0.6201, allocations: 5.772 MB / 0.4995 GB, free: 3.301 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.6201, allocations: 4.219 kB / 0.4995 GB, free: 3.297 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/0.6214, allocations: 287.6 kB / 0.4998 GB, free: 3.016 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008832/0.6223, allocations: 306.3 kB / 0.5001 GB, free: 2.707 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001369/0.6225, allocations: 43.97 kB / 0.5001 GB, free: 2.664 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007111/0.6296, allocations: 6.963 MB / 0.5069 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.6296, allocations: 7.938 kB / 0.5069 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006088/0.6357, allocations: 3.54 MB / 0.5104 GB, free: 7.641 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001265/0.637, allocations: 0.5056 MB / 0.5109 GB, free: 7.113 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006869/0.6377, allocations: 32 kB / 0.5109 GB, free: 7.082 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001891/0.6396, allocations: 88.11 kB / 0.511 GB, free: 6.996 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003186/0.64, allocations: 117.1 kB / 0.5111 GB, free: 6.879 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/0.6401, allocations: 43.94 kB / 0.5111 GB, free: 6.836 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003001/0.6431, allocations: 1.556 MB / 0.5127 GB, free: 5.266 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6431, allocations: 8 kB / 0.5127 GB, free: 5.258 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002662/0.6458, allocations: 0.6602 MB / 0.5133 GB, free: 4.598 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.000398/0.6462, allocations: 186.9 kB / 0.5135 GB, free: 4.406 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004/0.6502, allocations: 2.266 MB / 0.5157 GB, free: 2.117 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.6502, allocations: 0 / 0.5157 GB, free: 2.117 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002349/0.6526, allocations: 1.453 MB / 0.5171 GB, free: 0.625 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00344/0.656, allocations: 0.5828 MB / 0.5177 GB, free: 40 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0147/0.6707, allocations: 6.876 MB / 0.5244 GB, free: 9.113 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004046/0.6748, allocations: 2.665 MB / 0.527 GB, free: 6.426 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002496/0.6773, allocations: 0.5552 MB / 0.5275 GB, free: 5.867 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007545/0.6781, allocations: 167.4 kB / 0.5277 GB, free: 5.703 MB / 462.1 MB Notification: Performance of SimCode: time 1.012e-06/0.6781, allocations: 0 / 0.5277 GB, free: 5.703 MB / 462.1 MB Notification: Performance of Templates: time 0.2332/0.9114, allocations: 30.81 MB / 0.5578 GB, free: 148.7 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)