Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008472/0.0008472, allocations: 98.31 kB / 16.94 MB, free: 6.441 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.0008275/0.0008276, allocations: 189.8 kB / 17.83 MB, free: 6.008 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.492/1.492, allocations: 205.4 MB / 224 MB, free: 13.18 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.0004615/0.0004616, allocations: 15.94 kB / 280.9 MB, free: 3.637 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1088, allocations: 47.57 MB / 328.4 MB, free: 3.996 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier): time 0.01177/0.1206, allocations: 9.697 MB / 338.1 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01274/0.1334, allocations: 6.331 MB / 344.5 MB, free: 3.91 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002349/0.1358, allocations: 51.75 kB / 344.5 MB, free: 3.859 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002595/0.1384, allocations: 0.6959 MB / 345.2 MB, free: 3.16 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003329/0.1417, allocations: 0.8607 MB / 346.1 MB, free: 2.297 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004315/0.1461, allocations: 1.337 MB / 347.4 MB, free: 0.957 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005082/0.1512, allocations: 2.243 MB / 349.6 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002855/0.154, allocations: 1.372 MB / 351 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002829/0.1569, allocations: 1.07 MB / 352.1 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002926/0.1598, allocations: 1.237 MB / 353.3 MB, free: 11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001059/0.1609, allocations: 152 kB / 353.5 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001976/0.1629, allocations: 335.7 kB / 353.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001484/0.1644, allocations: 0.7009 MB / 354.5 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001729/0.1661, allocations: 0.5783 MB / 355.1 MB, free: 9.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005209/0.1713, allocations: 3.705 MB / 358.8 MB, free: 5.516 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1714, allocations: 0 / 358.8 MB, free: 5.516 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1714, allocations: 0 / 358.8 MB, free: 5.516 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.103e-05/0.1715, allocations: 0 / 358.8 MB, free: 5.516 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 617 * Number of variables: 617 Notification: Performance of Generate backend data structure: time 0.006508/0.178, allocations: 2.957 MB / 361.7 MB, free: 2.492 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/0.178, allocations: 8.031 kB / 361.7 MB, free: 2.484 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005826/0.1786, allocations: 341.7 kB / 362.1 MB, free: 2.141 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001394/0.18, allocations: 435.9 kB / 362.5 MB, free: 1.711 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003095/0.1831, allocations: 1.602 MB / 364.1 MB, free: 56 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/0.1833, allocations: 188.7 kB / 364.3 MB, free: 15.87 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003391/0.1837, allocations: 239.9 kB / 364.5 MB, free: 15.63 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005158/0.1888, allocations: 3.014 MB / 367.5 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.687e-05/0.1889, allocations: 4 kB / 367.5 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000225/0.1891, allocations: 99.95 kB / 367.6 MB, free: 12.4 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001259/0.1893, allocations: 100.6 kB / 367.7 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004565/0.1938, allocations: 2.528 MB / 370.3 MB, free: 9.754 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2424/0.4363, allocations: 10.29 MB / 380.6 MB, free: 47.56 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003773/0.4401, allocations: 2.722 MB / 383.3 MB, free: 46.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002596/0.4404, allocations: 124.7 kB / 383.4 MB, free: 46.48 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.4404, allocations: 51.53 kB / 383.5 MB, free: 46.44 MB / 318.1 MB Notification: Performance of pre-optimization done (n=149): time 3.998e-06/0.4404, allocations: 0 / 383.5 MB, free: 46.44 MB / 318.1 MB Notification: Performance of matching and sorting (n=166): time 0.01772/0.4582, allocations: 8.17 MB / 391.6 MB, free: 44.06 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.681e-05/0.4583, allocations: 175.4 kB / 391.8 MB, free: 43.86 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002872/0.4612, allocations: 1.843 MB / 393.6 MB, free: 43.12 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001421/0.4613, allocations: 61.08 kB / 393.7 MB, free: 43.07 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001046/0.4624, allocations: 1.144 MB / 394.8 MB, free: 42.18 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004966/0.4629, allocations: 0.561 MB / 395.4 MB, free: 41.75 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.647e-05/0.463, allocations: 42.81 kB / 395.4 MB, free: 41.71 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.4632, allocations: 383.6 kB / 395.8 MB, free: 41.38 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001414/0.4646, allocations: 0.8582 MB / 396.7 MB, free: 41.07 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001491/0.4661, allocations: 1.313 MB / 398 MB, free: 40.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.4674, allocations: 1.052 MB / 399 MB, free: 39.8 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.4674, allocations: 3.906 kB / 399.1 MB, free: 39.8 MB / 318.1 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.004269/0.4717, allocations: 3.124 MB / 402.2 MB, free: 38.13 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009115/0.4726, allocations: 4.99 MB / 407.2 MB, free: 32.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.736e-05/0.4727, allocations: 12.31 kB / 407.2 MB, free: 32.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001568/0.4742, allocations: 0.763 MB / 407.9 MB, free: 32.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.4754, allocations: 376.7 kB / 408.3 MB, free: 32.28 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009198/0.4846, allocations: 11.87 MB / 420.2 MB, free: 20.56 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002101/0.4868, allocations: 107.9 kB / 420.3 MB, free: 20.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.4869, allocations: 70 kB / 420.4 MB, free: 20.39 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.348e-06/0.4869, allocations: 4 kB / 420.4 MB, free: 20.39 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003672/0.4906, allocations: 2.876 MB / 423.2 MB, free: 17.47 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.608e-05/0.4906, allocations: 15.98 kB / 423.3 MB, free: 17.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001484/0.4921, allocations: 0.7703 MB / 424 MB, free: 16.67 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/0.4933, allocations: 367.1 kB / 424.4 MB, free: 16.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009044/0.5023, allocations: 11.86 MB / 436.2 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00205/0.5044, allocations: 99.91 kB / 436.3 MB, free: 3.699 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/0.5046, allocations: 72 kB / 436.4 MB, free: 3.629 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 7 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off,voltageController.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (194): * Single equations (assignments): 186 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 16,(1,100.0%) 3} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.001577/0.5061, allocations: 0.8052 MB / 437.2 MB, free: 2.812 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004893/0.5066, allocations: 213.4 kB / 437.4 MB, free: 2.602 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004025/0.5107, allocations: 2.837 MB / 440.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/0.5107, allocations: 16 kB / 440.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.5107, allocations: 8 kB / 440.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.771e-05/0.5107, allocations: 12.42 kB / 440.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009854/0.5206, allocations: 5.647 MB / 445.9 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/0.5206, allocations: 4 kB / 445.9 MB, free: 9.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009607/0.5216, allocations: 240.4 kB / 446.2 MB, free: 9.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001998/0.5236, allocations: 0.8127 MB / 447 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/0.5237, allocations: 39.98 kB / 447 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01482/0.5386, allocations: 13.35 MB / 460.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.5386, allocations: 4 kB / 460.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00683/0.5455, allocations: 4.264 MB / 464.6 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001327/0.5468, allocations: 478.3 kB / 465.1 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002694/0.5471, allocations: 39.98 kB / 465.2 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/0.5482, allocations: 95.91 kB / 465.2 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003531/0.5485, allocations: 141 kB / 465.4 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/0.5486, allocations: 47.98 kB / 465.4 MB, free: 5.363 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002033/0.5507, allocations: 1.254 MB / 466.7 MB, free: 4.086 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5507, allocations: 0 / 466.7 MB, free: 4.086 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003991/0.5547, allocations: 1.074 MB / 467.8 MB, free: 3.02 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],speed.phi,speed.w,voltageController.I.y,capacitor1.v,capacitor2.v,filter.x[1],filter.x[2]) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (123): * Single equations (assignments): 117 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 16,(1,100.0%) 3,(2,100.0%) 1} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.007136/0.5618, allocations: 5.816 MB / 473.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00797/0.5698, allocations: 5.239 MB / 478.8 MB, free: 7.648 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/0.5698, allocations: 4 kB / 478.8 MB, free: 7.645 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003132/0.573, allocations: 2.057 MB / 480.9 MB, free: 5.512 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00277/0.5758, allocations: 0.5517 MB / 481.4 MB, free: 4.965 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01586/0.5916, allocations: 16.21 MB / 497.6 MB, free: 4.305 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001964/0.5937, allocations: 2.031 MB / 499.7 MB, free: 2.238 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001854/0.5955, allocations: 0.4974 MB / 0.4884 GB, free: 1.738 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00126/0.5968, allocations: 0.9953 MB / 0.4894 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of SimCode: time 8.82e-07/0.5968, allocations: 0 / 0.4894 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.283/0.8798, allocations: 58.96 MB / 0.547 GB, free: 120 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000195/0.88, allocations: 256.1 kB / 0.5472 GB, free: 119.7 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.455/4.335, allocations: 0 / 0.5472 GB, free: 119.7 MB / 414.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe 2>&1) Environment - environmentSimulation: