Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.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.AsynchronousInductionMachines.AIMC_Transformer,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer",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.001611/0.001611, allocations: 172.5 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.501/1.501, allocations: 205.2 MB / 219.8 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.0009015/0.0009015, allocations: 82.66 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.076e-05/4.13e-05, allocations: 0 / 322.6 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09812/0.09819, allocations: 47.58 MB / 370.1 MB, free: 1.605 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3726/0.4709, allocations: 111.6 MB / 481.8 MB, free: 14 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/0.4711, allocations: 85.02 kB / 481.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4719/0.943, allocations: 93.42 MB / 0.5618 GB, free: 89.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.9431, allocations: 0 / 0.5618 GB, free: 89.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002876/0.9434, allocations: 97.61 kB / 0.5619 GB, free: 89.69 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.008612/0.952, allocations: 3.546 MB / 0.5653 GB, free: 88.24 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.952, allocations: 10.31 kB / 0.5654 GB, free: 88.24 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001075/0.9531, allocations: 0.4999 MB / 0.5658 GB, free: 88.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001481/0.9546, allocations: 0.5038 MB / 0.5663 GB, free: 87.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004327/0.959, allocations: 2.538 MB / 0.5688 GB, free: 87.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001549/0.9591, allocations: 267 kB / 0.5691 GB, free: 87.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004558/0.9596, allocations: 356.8 kB / 0.5694 GB, free: 87.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006754/0.9664, allocations: 4.842 MB / 0.5741 GB, free: 86.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.25e-05/0.9665, allocations: 13.64 kB / 0.5741 GB, free: 86.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003253/0.9668, allocations: 145.2 kB / 0.5743 GB, free: 86.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001471/0.9669, allocations: 171.5 kB / 0.5745 GB, free: 86.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005821/0.9728, allocations: 3.917 MB / 0.5783 GB, free: 84.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0197/0.9925, allocations: 14.96 MB / 0.5929 GB, free: 77.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003108/0.9956, allocations: 4.151 MB / 0.5969 GB, free: 74.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002049/0.9977, allocations: 1.833 MB / 0.5987 GB, free: 73.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002745/0.998, allocations: 146.3 kB / 0.5989 GB, free: 73.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.998, allocations: 63.53 kB / 0.5989 GB, free: 73.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=201): time 3.918e-06/0.998, allocations: 0 / 0.5989 GB, free: 73.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=221): time 0.01513/1.013, allocations: 8.324 MB / 0.6071 GB, free: 69.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/1.013, allocations: 73.41 kB / 0.6071 GB, free: 69.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002679/1.016, allocations: 2.187 MB / 0.6093 GB, free: 67.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001423/1.016, allocations: 69.64 kB / 0.6093 GB, free: 67.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000772/1.017, allocations: 1.597 MB / 0.6109 GB, free: 66.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004026/1.017, allocations: 0.7438 MB / 0.6116 GB, free: 65.35 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/1.017, allocations: 44 kB / 0.6117 GB, free: 65.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/1.018, allocations: 401.7 kB / 0.612 GB, free: 64.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0014/1.019, allocations: 1.233 MB / 0.6132 GB, free: 63.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001616/1.021, allocations: 1.665 MB / 0.6149 GB, free: 62.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001674/1.022, allocations: 1.487 MB / 0.6163 GB, free: 60.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/1.022, allocations: 4 kB / 0.6163 GB, free: 60.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.005076/1.027, allocations: 3.912 MB / 0.6201 GB, free: 57.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/1.027, allocations: 8 kB / 0.6202 GB, free: 57.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/1.027, allocations: 15.95 kB / 0.6202 GB, free: 57.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001615/1.029, allocations: 0.7624 MB / 0.6209 GB, free: 56.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001846/1.031, allocations: 0.5275 MB / 0.6214 GB, free: 56.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007542/1.038, allocations: 8.717 MB / 0.6299 GB, free: 48.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002054/1.04, allocations: 121 kB / 0.6301 GB, free: 47.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001692/1.041, allocations: 87.7 kB / 0.6301 GB, free: 47.88 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 243 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003859/1.041, allocations: 241.1 kB / 0.6304 GB, free: 47.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003748/1.041, allocations: 272.7 kB / 0.6306 GB, free: 47.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005198/1.047, allocations: 3.641 MB / 0.6342 GB, free: 44.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/1.047, allocations: 20 kB / 0.6342 GB, free: 44.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/1.047, allocations: 8 kB / 0.6342 GB, free: 44.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.81e-05/1.047, allocations: 13.17 kB / 0.6342 GB, free: 44.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01141/1.058, allocations: 7.952 MB / 0.642 GB, free: 36.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.886e-06/1.058, allocations: 8.031 kB / 0.642 GB, free: 36.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001524/1.06, allocations: 395.4 kB / 0.6424 GB, free: 36.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0019/1.062, allocations: 0.8047 MB / 0.6432 GB, free: 35.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001572/1.062, allocations: 55.97 kB / 0.6432 GB, free: 35.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008424/1.07, allocations: 10.21 MB / 0.6532 GB, free: 24.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.07, allocations: 4.031 kB / 0.6532 GB, free: 24.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007096/1.077, allocations: 5.62 MB / 0.6587 GB, free: 18.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001986/1.079, allocations: 0.6381 MB / 0.6593 GB, free: 18.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007398/1.08, allocations: 55.94 kB / 0.6594 GB, free: 18.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001689/1.082, allocations: 131.9 kB / 0.6595 GB, free: 18.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003783/1.082, allocations: 181.8 kB / 0.6597 GB, free: 17.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000145/1.082, allocations: 59.98 kB / 0.6597 GB, free: 17.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002263/1.085, allocations: 1.679 MB / 0.6613 GB, free: 16.08 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.085, allocations: 0 / 0.6613 GB, free: 16.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002585/1.087, allocations: 0.8321 MB / 0.6622 GB, free: 15.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0072/1.094, allocations: 7.134 MB / 0.6691 GB, free: 8.043 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004864/1.099, allocations: 3.777 MB / 0.6728 GB, free: 4.191 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/1.099, allocations: 0 / 0.6728 GB, free: 4.191 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002984/1.102, allocations: 2.437 MB / 0.6752 GB, free: 1.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003742/1.106, allocations: 0.7387 MB / 0.6759 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01493/1.121, allocations: 7.513 MB / 0.6833 GB, free: 9.445 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003533/1.125, allocations: 2.839 MB / 0.686 GB, free: 6.582 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002798/1.128, allocations: 0.6771 MB / 0.6867 GB, free: 5.918 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002132/1.13, allocations: 1.397 MB / 0.6881 GB, free: 4.52 MB / 426.7 MB Notification: Performance of SimCode: time 1.172e-06/1.13, allocations: 4 kB / 0.6881 GB, free: 4.516 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3499/1.48, allocations: 74.96 MB / 0.7613 GB, free: 75.03 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/1.48, allocations: 215.8 kB / 0.7615 GB, free: 74.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.133/5.613, allocations: 0 / 0.7615 GB, free: 74.8 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_res.mat does not exist to compare? outputFormat=mat