Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002349/0.002349, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.194/2.194, allocations: 205.2 MB / 219.4 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 86.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.263e-05/3.278e-05, allocations: 8 kB / 321.6 MB, free: 17.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1083, allocations: 47.57 MB / 369.2 MB, free: 2.102 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4847/0.593, allocations: 125.9 MB / 495.1 MB, free: 96 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003321/0.5934, allocations: 86.08 kB / 495.2 MB, free: 52 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5172/1.111, allocations: 55.51 MB / 0.5378 GB, free: 96.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.415e-06/1.111, allocations: 0 / 0.5378 GB, free: 96.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003621/1.111, allocations: 72.77 kB / 0.5379 GB, free: 96.33 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.01041/1.122, allocations: 2.58 MB / 0.5404 GB, free: 95.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/1.122, allocations: 8.875 kB / 0.5404 GB, free: 95.31 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001371/1.123, allocations: 343.2 kB / 0.5407 GB, free: 95.26 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002816/1.126, allocations: 427.1 kB / 0.5411 GB, free: 95.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006317/1.132, allocations: 1.747 MB / 0.5428 GB, free: 94.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002323/1.132, allocations: 181 kB / 0.543 GB, free: 94.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001091/1.134, allocations: 242.9 kB / 0.5432 GB, free: 94.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009729/1.143, allocations: 2.969 MB / 0.5461 GB, free: 94.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001213/1.144, allocations: 7.625 kB / 0.5461 GB, free: 94.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004259/1.144, allocations: 102.5 kB / 0.5462 GB, free: 94.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001587/1.144, allocations: 98.5 kB / 0.5463 GB, free: 94.19 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008826/1.153, allocations: 2.367 MB / 0.5486 GB, free: 94.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02699/1.18, allocations: 10.32 MB / 0.5587 GB, free: 90.87 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004918/1.185, allocations: 2.707 MB / 0.5614 GB, free: 89.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002356/1.187, allocations: 1.109 MB / 0.5624 GB, free: 88.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004662/1.188, allocations: 139.9 kB / 0.5626 GB, free: 88.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/1.188, allocations: 47.62 kB / 0.5626 GB, free: 88.58 MB / 410.7 MB Notification: Performance of pre-optimization done (n=152): time 3.807e-06/1.188, allocations: 0 / 0.5626 GB, free: 88.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=175): time 0.02629/1.214, allocations: 7.343 MB / 0.5698 GB, free: 86.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.992e-05/1.214, allocations: 174.2 kB / 0.57 GB, free: 85.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003735/1.218, allocations: 1.609 MB / 0.5715 GB, free: 85.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004211/1.219, allocations: 60.86 kB / 0.5716 GB, free: 85.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008053/1.219, allocations: 1.087 MB / 0.5726 GB, free: 84.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007269/1.22, allocations: 0.5862 MB / 0.5732 GB, free: 83.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/1.22, allocations: 39 kB / 0.5733 GB, free: 83.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/1.22, allocations: 393.3 kB / 0.5736 GB, free: 83.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002122/1.223, allocations: 0.8877 MB / 0.5745 GB, free: 83.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002411/1.225, allocations: 1.331 MB / 0.5758 GB, free: 82.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002464/1.228, allocations: 1.091 MB / 0.5769 GB, free: 81.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.188e-05/1.228, allocations: 3.906 kB / 0.5769 GB, free: 81.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.008226/1.236, allocations: 3.131 MB / 0.5799 GB, free: 80.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000955/1.237, allocations: 4.705 MB / 0.5845 GB, free: 75.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.822e-05/1.237, allocations: 21.88 kB / 0.5845 GB, free: 75.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004005/1.241, allocations: 0.9491 MB / 0.5855 GB, free: 75.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002684/1.244, allocations: 374.6 kB / 0.5858 GB, free: 75.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01921/1.263, allocations: 11.97 MB / 0.5975 GB, free: 67.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002901/1.266, allocations: 113.7 kB / 0.5976 GB, free: 67.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004157/1.266, allocations: 76.06 kB / 0.5977 GB, free: 67.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/1.266, allocations: 6.281 kB / 0.5977 GB, free: 67.19 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007992/1.274, allocations: 3.049 MB / 0.6007 GB, free: 66.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.279e-05/1.274, allocations: 13.59 kB / 0.6007 GB, free: 66.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003471/1.278, allocations: 0.9628 MB / 0.6016 GB, free: 65.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002682/1.281, allocations: 364.8 kB / 0.602 GB, free: 65.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01958/1.3, allocations: 12.09 MB / 0.6138 GB, free: 56.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/1.302, allocations: 99.91 kB / 0.6139 GB, free: 56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002902/1.302, allocations: 76 kB / 0.614 GB, free: 55.92 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.0005669/1.303, allocations: 218.5 kB / 0.6142 GB, free: 55.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007591/1.304, allocations: 225 kB / 0.6144 GB, free: 55.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008074/1.312, allocations: 2.921 MB / 0.6172 GB, free: 53 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-05/1.312, allocations: 18.77 kB / 0.6173 GB, free: 52.99 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-05/1.312, allocations: 11.95 kB / 0.6173 GB, free: 52.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.717e-05/1.312, allocations: 10.44 kB / 0.6173 GB, free: 52.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01666/1.329, allocations: 5.875 MB / 0.623 GB, free: 48.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.366e-05/1.329, allocations: 4 kB / 0.623 GB, free: 48.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001938/1.331, allocations: 219 kB / 0.6232 GB, free: 47.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004359/1.335, allocations: 1.018 MB / 0.6242 GB, free: 47.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003449/1.335, allocations: 39.7 kB / 0.6243 GB, free: 47.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02095/1.356, allocations: 13.66 MB / 0.6376 GB, free: 34.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.356, allocations: 4 kB / 0.6376 GB, free: 34.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01043/1.367, allocations: 4.396 MB / 0.6419 GB, free: 30.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001872/1.369, allocations: 497 kB / 0.6424 GB, free: 29.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007661/1.37, allocations: 43.52 kB / 0.6424 GB, free: 29.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002379/1.372, allocations: 96.84 kB / 0.6425 GB, free: 29.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006265/1.373, allocations: 149.5 kB / 0.6426 GB, free: 29.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001701/1.373, allocations: 44.47 kB / 0.6427 GB, free: 29.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002906/1.376, allocations: 1.234 MB / 0.6439 GB, free: 28.26 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.202e-06/1.376, allocations: 0 / 0.6439 GB, free: 28.26 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006225/1.382, allocations: 1.183 MB / 0.645 GB, free: 27.08 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,72.2%) 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.01151/1.394, allocations: 5.741 MB / 0.6507 GB, free: 21.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01289/1.407, allocations: 5.404 MB / 0.6559 GB, free: 16.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/1.407, allocations: 4.375 kB / 0.6559 GB, free: 16.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00511/1.412, allocations: 2.096 MB / 0.658 GB, free: 14.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004301/1.416, allocations: 0.5279 MB / 0.6585 GB, free: 14.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01638/1.432, allocations: 5.405 MB / 0.6638 GB, free: 9.664 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002184/1.435, allocations: 2.032 MB / 0.6658 GB, free: 8.047 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002063/1.437, allocations: 0.9959 MB / 0.6667 GB, free: 7.129 MB / 410.7 MB Notification: Performance of SimCode: time 1.472e-06/1.437, allocations: 0 / 0.6667 GB, free: 7.129 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.687/6.124, allocations: 103.5 MB / 0.7678 GB, free: 66.01 MB / 426.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier_res.mat does not exist to compare? outputFormat=mat