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.001009/0.001009, allocations: 181.2 kB / 17.01 MB, free: 5.125 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.606/1.606, allocations: 205.4 MB / 223.1 MB, free: 9.133 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.0008504/0.0008503, allocations: 94.69 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003514, allocations: 4 kB / 328.3 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3067, allocations: 47.57 MB / 375.9 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1418/0.4486, allocations: 111.7 MB / 487.7 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003846/0.449, allocations: 87.95 kB / 487.7 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4324/0.8814, allocations: 93.17 MB / 0.5673 GB, free: 49.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.634e-06/0.8815, allocations: 4 kB / 0.5673 GB, free: 49.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003762/0.8819, allocations: 95.88 kB / 0.5674 GB, free: 49.49 MB / 378.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.01066/0.8925, allocations: 3.955 MB / 0.5713 GB, free: 45.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.8926, allocations: 8.031 kB / 0.5713 GB, free: 45.46 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002615/0.8952, allocations: 0.5097 MB / 0.5718 GB, free: 44.94 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002584/0.8978, allocations: 0.5063 MB / 0.5723 GB, free: 44.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005459/0.9033, allocations: 2.568 MB / 0.5748 GB, free: 41.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001619/0.9035, allocations: 263 kB / 0.575 GB, free: 41.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006612/0.9042, allocations: 355.8 kB / 0.5754 GB, free: 41.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00703/0.9112, allocations: 4.944 MB / 0.5802 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.047e-05/0.9113, allocations: 4.25 kB / 0.5802 GB, free: 36.1 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003269/0.9116, allocations: 159.9 kB / 0.5803 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001451/0.9118, allocations: 175.1 kB / 0.5805 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006107/0.9179, allocations: 4.064 MB / 0.5845 GB, free: 31.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02054/0.9384, allocations: 14.95 MB / 0.5991 GB, free: 16.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003338/0.9418, allocations: 4.211 MB / 0.6032 GB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002915/0.9422, allocations: 147 kB / 0.6033 GB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.9422, allocations: 64.55 kB / 0.6034 GB, free: 11.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=201): time 4.628e-06/0.9422, allocations: 0 / 0.6034 GB, free: 11.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=221): time 0.01717/0.9594, allocations: 10.18 MB / 0.6133 GB, free: 1.402 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.9595, allocations: 73.41 kB / 0.6134 GB, free: 1.316 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003199/0.9627, allocations: 2.209 MB / 0.6156 GB, free: 15.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001677/0.9628, allocations: 65.7 kB / 0.6156 GB, free: 15.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00133/0.9642, allocations: 1.607 MB / 0.6172 GB, free: 13.39 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007103/0.9649, allocations: 0.7392 MB / 0.6179 GB, free: 12.64 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.965, allocations: 47.94 kB / 0.618 GB, free: 12.59 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000227/0.9653, allocations: 402.5 kB / 0.6183 GB, free: 12.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002027/0.9673, allocations: 1.301 MB / 0.6196 GB, free: 10.89 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002362/0.9697, allocations: 1.737 MB / 0.6213 GB, free: 8.98 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00236/0.972, allocations: 1.552 MB / 0.6228 GB, free: 7.43 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/0.9721, allocations: 4 kB / 0.6228 GB, free: 7.426 MB / 394.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.00727/0.9793, allocations: 4.048 MB / 0.6268 GB, free: 3.352 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.167e-05/0.9794, allocations: 16.03 kB / 0.6268 GB, free: 3.336 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.297e-05/0.9794, allocations: 12 kB / 0.6268 GB, free: 3.324 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002019/0.9815, allocations: 0.7581 MB / 0.6275 GB, free: 2.551 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002094/0.9836, allocations: 0.5227 MB / 0.6281 GB, free: 2.027 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0104/0.994, allocations: 8.95 MB / 0.6368 GB, free: 8.676 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002414/0.9964, allocations: 123.8 kB / 0.6369 GB, free: 8.555 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001933/0.9966, allocations: 87.98 kB / 0.637 GB, free: 8.469 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 () * Number of clocked 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.00261/0.9992, allocations: 1.205 MB / 0.6382 GB, free: 7.254 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006033/0.9999, allocations: 280.6 kB / 0.6384 GB, free: 6.977 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006436/1.006, allocations: 3.774 MB / 0.6421 GB, free: 3.168 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.658e-05/1.006, allocations: 20 kB / 0.6421 GB, free: 3.148 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-05/1.006, allocations: 11.98 kB / 0.6422 GB, free: 3.137 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/1.006, allocations: 11.91 kB / 0.6422 GB, free: 3.125 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2848/1.291, allocations: 8.077 MB / 0.6501 GB, free: 80.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.39e-05/1.291, allocations: 7.156 kB / 0.6501 GB, free: 80.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001714/1.293, allocations: 393.6 kB / 0.6504 GB, free: 80.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002094/1.295, allocations: 0.8092 MB / 0.6512 GB, free: 80.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000215/1.295, allocations: 61.66 kB / 0.6513 GB, free: 80.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009563/1.305, allocations: 10.48 MB / 0.6615 GB, free: 75.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.305, allocations: 2.906 kB / 0.6615 GB, free: 75.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009284/1.314, allocations: 5.821 MB / 0.6672 GB, free: 74.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002264/1.317, allocations: 0.6496 MB / 0.6678 GB, free: 74.63 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005748/1.317, allocations: 49.58 kB / 0.6679 GB, free: 74.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/1.319, allocations: 129.3 kB / 0.668 GB, free: 74.63 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004423/1.319, allocations: 192.6 kB / 0.6682 GB, free: 74.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001411/1.319, allocations: 59.09 kB / 0.6683 GB, free: 74.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002926/1.322, allocations: 1.711 MB / 0.6699 GB, free: 74.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.322, allocations: 0 / 0.6699 GB, free: 74.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003611/1.326, allocations: 0.834 MB / 0.6707 GB, free: 74.48 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 () * Number of clocked 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.009442/1.335, allocations: 7.356 MB / 0.6779 GB, free: 72.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0077/1.343, allocations: 3.924 MB / 0.6818 GB, free: 72.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.409e-05/1.343, allocations: 5.156 kB / 0.6818 GB, free: 72.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005258/1.348, allocations: 2.512 MB / 0.6842 GB, free: 71.44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005031/1.353, allocations: 0.7436 MB / 0.6849 GB, free: 71.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04399/1.397, allocations: 31.96 MB / 0.7162 GB, free: 50.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002581/1.4, allocations: 2.846 MB / 0.7189 GB, free: 49.47 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002856/1.403, allocations: 0.6759 MB / 0.7196 GB, free: 49.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0021/1.405, allocations: 1.399 MB / 0.721 GB, free: 48.28 MB / 410.7 MB Notification: Performance of SimCode: time 1.771e-05/1.405, allocations: 0 / 0.721 GB, free: 48.28 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1232/1.528, allocations: 74.8 MB / 0.794 GB, free: 1.555 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002312/1.529, allocations: 239.6 kB / 0.7942 GB, free: 1.312 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.068/5.596, allocations: 0 / 0.7942 GB, free: 1.312 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