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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001476/0.001476, allocations: 178.4 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.559/1.559, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008884/0.0008885, allocations: 86.7 kB / 262.4 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.75e-05/1.754e-05, allocations: 4 kB / 315.6 MB, free: 22.6 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08065/0.08068, allocations: 47.58 MB / 363.2 MB, free: 6.961 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3848/0.4655, allocations: 125.5 MB / 488.7 MB, free: 2.668 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/0.4659, allocations: 88.28 kB / 488.8 MB, free: 2.621 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1437/0.6096, allocations: 54.82 MB / 0.5308 GB, free: 0.7617 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.6096, allocations: 4 kB / 0.5308 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002001/0.6098, allocations: 63.94 kB / 0.5309 GB, free: 0.6953 MB / 410.7 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.2202/0.83, allocations: 2.572 MB / 0.5334 GB, free: 94.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.8301, allocations: 9.594 kB / 0.5334 GB, free: 94.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001852/0.8319, allocations: 432.3 kB / 0.5338 GB, free: 93.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003629/0.8356, allocations: 1.747 MB / 0.5355 GB, free: 93.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.182e-05/0.8357, allocations: 77.16 kB / 0.5356 GB, free: 93.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000349/0.8361, allocations: 142.1 kB / 0.5358 GB, free: 93.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004316/0.8404, allocations: 2.226 MB / 0.5379 GB, free: 93.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004455/0.8448, allocations: 2.623 MB / 0.5405 GB, free: 93.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.45e-05/0.8449, allocations: 12.64 kB / 0.5405 GB, free: 93.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001872/0.8451, allocations: 1.906 kB / 0.5405 GB, free: 93.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001329/0.8453, allocations: 99.17 kB / 0.5406 GB, free: 93.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01575/0.861, allocations: 9.848 MB / 0.5502 GB, free: 90.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002488/0.8636, allocations: 2.638 MB / 0.5528 GB, free: 89.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001213/0.8648, allocations: 1.088 MB / 0.5539 GB, free: 89.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003056/0.8651, allocations: 146.3 kB / 0.554 GB, free: 89.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.8652, allocations: 61.39 kB / 0.554 GB, free: 89.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=152): time 3.677e-06/0.8652, allocations: 0 / 0.554 GB, free: 89.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=175): time 0.009719/0.8749, allocations: 5.755 MB / 0.5597 GB, free: 88.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.875, allocations: 181 kB / 0.5598 GB, free: 87.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002021/0.877, allocations: 1.325 MB / 0.5611 GB, free: 87.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001179/0.8772, allocations: 29.67 kB / 0.5612 GB, free: 87.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006204/0.8778, allocations: 1.164 MB / 0.5623 GB, free: 87.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003256/0.8781, allocations: 0.5664 MB / 0.5629 GB, free: 86.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.663e-05/0.8782, allocations: 0 / 0.5629 GB, free: 86.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.8783, allocations: 384 kB / 0.5632 GB, free: 86.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009976/0.8793, allocations: 0.854 MB / 0.5641 GB, free: 86.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/0.8805, allocations: 1.269 MB / 0.5653 GB, free: 85.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.8818, allocations: 1.051 MB / 0.5663 GB, free: 84.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.8818, allocations: 0 / 0.5663 GB, free: 84.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.004233/0.886, allocations: 3.052 MB / 0.5693 GB, free: 83.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008137/0.8869, allocations: 4.835 MB / 0.574 GB, free: 78.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.792e-05/0.8869, allocations: 18.69 kB / 0.574 GB, free: 78.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002046/0.8889, allocations: 0.9474 MB / 0.575 GB, free: 78.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/0.8903, allocations: 371.8 kB / 0.5753 GB, free: 78.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01133/0.9017, allocations: 11.53 MB / 0.5866 GB, free: 70.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002293/0.904, allocations: 75.44 kB / 0.5867 GB, free: 70.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002465/0.9043, allocations: 75.47 kB / 0.5867 GB, free: 70.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.9043, allocations: 5.844 kB / 0.5867 GB, free: 70.59 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004437/0.9088, allocations: 2.814 MB / 0.5895 GB, free: 69.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-05/0.9088, allocations: 13.47 kB / 0.5895 GB, free: 69.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002124/0.911, allocations: 0.9493 MB / 0.5904 GB, free: 69.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/0.9123, allocations: 364 kB / 0.5908 GB, free: 69.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01107/0.9234, allocations: 11.54 MB / 0.602 GB, free: 61.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002051/0.9255, allocations: 63.38 kB / 0.6021 GB, free: 61.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002058/0.9257, allocations: 78.28 kB / 0.6022 GB, free: 61.54 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 185 * 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: 4 * 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: 1 {(6,72.2%) 27} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004949/0.9262, allocations: 152.4 kB / 0.6023 GB, free: 61.39 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004049/0.9303, allocations: 2.6 MB / 0.6049 GB, free: 60.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004188/0.9307, allocations: 203.7 kB / 0.6051 GB, free: 60.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004083/0.9348, allocations: 2.752 MB / 0.6077 GB, free: 59.26 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.9348, allocations: 17.22 kB / 0.6078 GB, free: 59.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.9348, allocations: 6.594 kB / 0.6078 GB, free: 59.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.755e-05/0.9349, allocations: 15.48 kB / 0.6078 GB, free: 59.26 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008558/0.9434, allocations: 5.397 MB / 0.613 GB, free: 56.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.9435, allocations: 0 / 0.613 GB, free: 56.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00093/0.9444, allocations: 225 kB / 0.6133 GB, free: 56.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002515/0.947, allocations: 1.015 MB / 0.6143 GB, free: 55.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001367/0.9471, allocations: 18.14 kB / 0.6143 GB, free: 55.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01196/0.9591, allocations: 13.19 MB / 0.6271 GB, free: 43.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/0.9591, allocations: 4 kB / 0.6272 GB, free: 43.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005541/0.9647, allocations: 4.21 MB / 0.6313 GB, free: 39.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001318/0.966, allocations: 473.7 kB / 0.6317 GB, free: 38.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002792/0.9663, allocations: 15.38 kB / 0.6317 GB, free: 38.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/0.9675, allocations: 68.61 kB / 0.6318 GB, free: 38.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003377/0.9678, allocations: 144.4 kB / 0.6319 GB, free: 38.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.623e-05/0.9679, allocations: 47.23 kB / 0.632 GB, free: 38.72 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001474/0.9694, allocations: 1.004 MB / 0.633 GB, free: 37.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9694, allocations: 0 / 0.633 GB, free: 37.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004169/0.9736, allocations: 1.031 MB / 0.634 GB, free: 36.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 110 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,75.0%) 27,(2,100.0%) 4} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.005943/0.9796, allocations: 5.558 MB / 0.6394 GB, free: 31.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007073/0.9867, allocations: 5.178 MB / 0.6445 GB, free: 26.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/0.9867, allocations: 0.9375 kB / 0.6445 GB, free: 26.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002775/0.9895, allocations: 2.002 MB / 0.6464 GB, free: 25.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002596/0.9921, allocations: 438.4 kB / 0.6468 GB, free: 24.74 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/1.003, allocations: 5.214 MB / 0.6519 GB, free: 20.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001501/1.004, allocations: 2.053 MB / 0.6539 GB, free: 18.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002291/1.007, allocations: 0.6326 MB / 0.6545 GB, free: 18.19 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009413/1.008, allocations: 0.972 MB / 0.6555 GB, free: 17.29 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/1.008, allocations: 0 / 0.6555 GB, free: 17.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3235/1.331, allocations: 59.96 MB / 0.714 GB, free: 95.48 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001714/1.331, allocations: 174.5 kB / 0.7142 GB, free: 95.3 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.963/5.294, allocations: 4.859 kB / 0.7142 GB, free: 95.29 MB / 426.7 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)