Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 114.3 kB / 17.75 MB, free: 5.332 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.001822/0.001823, allocations: 185.3 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009668/0.0009668, allocations: 47.92 kB / 352 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2464, allocations: 49.43 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01194/0.2584, allocations: 11.82 MB / 413.2 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006331/0.2647, allocations: 3.916 MB / 417.2 MB, free: 9.082 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009355/0.2657, allocations: 67.75 kB / 417.2 MB, free: 9.016 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001692/0.2674, allocations: 0.8735 MB / 418.1 MB, free: 8.133 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00201/0.2694, allocations: 1.021 MB / 419.1 MB, free: 7.105 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009489/0.2704, allocations: 0.5227 MB / 419.6 MB, free: 6.582 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002915/0.2733, allocations: 3.44 MB / 423.1 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002689/0.276, allocations: 2.704 MB / 425.8 MB, free: 364 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001653/0.2777, allocations: 1.55 MB / 427.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002207/0.2799, allocations: 1.942 MB / 429.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005351/0.2805, allocations: 408 kB / 429.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.2816, allocations: 0.6363 MB / 430.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00105/0.2826, allocations: 1.145 MB / 431.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001901/0.2846, allocations: 1.847 MB / 433.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004681/0.2893, allocations: 5.375 MB / 438.7 MB, free: 3.422 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2893, allocations: 0 / 438.7 MB, free: 3.422 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2893, allocations: 4 kB / 438.7 MB, free: 3.418 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.985e-05/0.2894, allocations: 0 / 438.7 MB, free: 3.418 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.007485/0.2969, allocations: 3.711 MB / 442.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.2969, allocations: 12.03 kB / 442.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/0.2983, allocations: 432.7 kB / 442.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00335/0.3017, allocations: 1.961 MB / 444.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/0.3018, allocations: 205.4 kB / 445 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003778/0.3022, allocations: 267.9 kB / 445.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005596/0.3078, allocations: 3.521 MB / 448.8 MB, free: 9.121 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.343e-05/0.3079, allocations: 0 / 448.8 MB, free: 9.121 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002479/0.3081, allocations: 112 kB / 448.9 MB, free: 9.012 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001334/0.3083, allocations: 137.2 kB / 449 MB, free: 8.875 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004847/0.3131, allocations: 2.96 MB / 452 MB, free: 5.902 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01595/0.3291, allocations: 10.96 MB / 462.9 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002643/0.3317, allocations: 2.273 MB / 465.2 MB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001924/0.3337, allocations: 1.18 MB / 466.4 MB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002555/0.334, allocations: 207.5 kB / 466.6 MB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.334, allocations: 51.86 kB / 466.6 MB, free: 6.684 MB / 382.1 MB Notification: Performance of pre-optimization done (n=131): time 3.426e-06/0.334, allocations: 0 / 466.6 MB, free: 6.684 MB / 382.1 MB Notification: Performance of matching and sorting (n=148): time 0.01554/0.3496, allocations: 7.521 MB / 474.2 MB, free: 15.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.3496, allocations: 64.72 kB / 474.2 MB, free: 14.94 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002973/0.3526, allocations: 1.979 MB / 476.2 MB, free: 12.92 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001142/0.3527, allocations: 49.7 kB / 476.3 MB, free: 12.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008945/0.3536, allocations: 1.308 MB / 477.6 MB, free: 11.54 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000389/0.354, allocations: 0.5045 MB / 478.1 MB, free: 11.03 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005102/0.3545, allocations: 327.2 kB / 478.4 MB, free: 10.7 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.061e-05/0.3546, allocations: 309.1 kB / 478.7 MB, free: 10.4 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001478/0.3561, allocations: 0.8822 MB / 479.6 MB, free: 9.516 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001791/0.3579, allocations: 1.375 MB / 480.9 MB, free: 7.934 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003409/0.3613, allocations: 2.377 MB / 483.3 MB, free: 5.352 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.348e-05/0.3614, allocations: 4 kB / 483.3 MB, free: 5.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005318/0.3667, allocations: 2.986 MB / 486.3 MB, free: 2.324 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.3667, allocations: 15.94 kB / 486.3 MB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.714e-05/0.3668, allocations: 12 kB / 486.3 MB, free: 2.297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001161/0.3679, allocations: 462.6 kB / 486.8 MB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001665/0.3696, allocations: 431.3 kB / 487.2 MB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006785/0.3764, allocations: 6.097 MB / 493.3 MB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/0.3782, allocations: 119.8 kB / 493.4 MB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002491/0.3784, allocations: 76 kB / 493.5 MB, free: 10.85 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (199): * Single equations (assignments): 194 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001524/0.38, allocations: 0.8563 MB / 494.4 MB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005679/0.3805, allocations: 217.4 kB / 494.6 MB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004743/0.3853, allocations: 2.587 MB / 497.2 MB, free: 7.141 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.592e-05/0.3853, allocations: 7.969 kB / 497.2 MB, free: 7.133 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.3853, allocations: 7.938 kB / 497.2 MB, free: 7.125 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001144/0.3865, allocations: 478.4 kB / 497.6 MB, free: 6.637 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004165/0.3869, allocations: 35.97 kB / 497.7 MB, free: 6.602 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/0.3882, allocations: 111.8 kB / 497.8 MB, free: 6.492 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000269/0.3885, allocations: 117.1 kB / 497.9 MB, free: 6.379 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0055/0.394, allocations: 2.611 MB / 0.4888 GB, free: 3.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00498/0.399, allocations: 3.341 MB / 0.492 GB, free: 400 kB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001367/0.4004, allocations: 0.9471 MB / 0.493 GB, free: 15.45 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00217/0.4026, allocations: 1.356 MB / 0.4943 GB, free: 14.07 MB / 430.1 MB Notification: Performance of Backend: time 4.01e-07/0.4026, allocations: 0 / 0.4943 GB, free: 14.07 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004119/0.4067, allocations: 2.005 MB / 0.4963 GB, free: 12 MB / 430.1 MB Notification: Performance of SimCode: time 0.009527/0.4162, allocations: 5.748 MB / 0.5019 GB, free: 6.203 MB / 430.1 MB Notification: Performance of Templates: time 0.0566/0.4729, allocations: 33.9 MB / 0.535 GB, free: 4.605 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1)