Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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_Initialize,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize",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.002633/0.002633, allocations: 188.3 kB / 16.41 MB, free: 5.723 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.972/1.972, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.00116/0.00116, allocations: 93.78 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006876/0.0006876, allocations: 8 kB / 327.1 MB, free: 108 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.358, allocations: 47.57 MB / 374.6 MB, free: 45.3 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1642/0.5223, allocations: 102.7 MB / 477.3 MB, free: 9.934 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003438/0.5227, allocations: 95.89 kB / 477.4 MB, free: 9.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4364/0.9592, allocations: 40.99 MB / 0.5063 GB, free: 95.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.9592, allocations: 0 / 0.5063 GB, free: 95.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000165/0.9594, allocations: 50.94 kB / 0.5063 GB, free: 95.89 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.007461/0.9669, allocations: 2.221 MB / 0.5085 GB, free: 94.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.9669, allocations: 6.188 kB / 0.5085 GB, free: 94.82 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001016/0.968, allocations: 272.1 kB / 0.5087 GB, free: 94.78 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/0.9691, allocations: 262.5 kB / 0.509 GB, free: 94.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004632/0.9738, allocations: 1.43 MB / 0.5104 GB, free: 94.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001411/0.974, allocations: 136.5 kB / 0.5105 GB, free: 94.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005025/0.9745, allocations: 175.2 kB / 0.5107 GB, free: 94.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006294/0.9808, allocations: 2.388 MB / 0.513 GB, free: 93.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.21e-05/0.9809, allocations: 3.906 kB / 0.513 GB, free: 93.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002753/0.9812, allocations: 82.39 kB / 0.5131 GB, free: 93.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001131/0.9813, allocations: 83.92 kB / 0.5132 GB, free: 93.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005612/0.987, allocations: 1.931 MB / 0.5151 GB, free: 92.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01746/1.004, allocations: 7.493 MB / 0.5224 GB, free: 88.51 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002925/1.007, allocations: 1.315 MB / 0.5237 GB, free: 87.81 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003743/1.008, allocations: 135.3 kB / 0.5238 GB, free: 87.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/1.008, allocations: 42.52 kB / 0.5238 GB, free: 87.67 MB / 378.7 MB Notification: Performance of pre-optimization done (n=87): time 3.266e-06/1.008, allocations: 4 kB / 0.5238 GB, free: 87.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=103): time 0.01494/1.023, allocations: 5.07 MB / 0.5288 GB, free: 85.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/1.023, allocations: 64.41 kB / 0.5288 GB, free: 84.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002425/1.025, allocations: 1.196 MB / 0.53 GB, free: 83.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002519/1.026, allocations: 41.7 kB / 0.5301 GB, free: 83.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005602/1.026, allocations: 0.8622 MB / 0.5309 GB, free: 82.97 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003668/1.027, allocations: 366.9 kB / 0.5312 GB, free: 82.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/1.027, allocations: 32 kB / 0.5313 GB, free: 82.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/1.027, allocations: 354.8 kB / 0.5316 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001577/1.028, allocations: 0.6467 MB / 0.5322 GB, free: 81.58 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001663/1.03, allocations: 0.9453 MB / 0.5332 GB, free: 80.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001798/1.032, allocations: 0.7838 MB / 0.5339 GB, free: 79.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/1.032, allocations: 0 / 0.5339 GB, free: 79.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.006777/1.039, allocations: 2.373 MB / 0.5363 GB, free: 77.35 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/1.039, allocations: 8 kB / 0.5363 GB, free: 77.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-05/1.039, allocations: 15.02 kB / 0.5363 GB, free: 77.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003356/1.042, allocations: 0.7859 MB / 0.537 GB, free: 76.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001644/1.044, allocations: 227.7 kB / 0.5373 GB, free: 76.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01673/1.061, allocations: 8.871 MB / 0.5459 GB, free: 67.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/1.063, allocations: 83.91 kB / 0.546 GB, free: 67.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002084/1.063, allocations: 48 kB / 0.5461 GB, free: 67.05 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 109 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 35} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001629/1.065, allocations: 0.6386 MB / 0.5467 GB, free: 66.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004896/1.065, allocations: 142.2 kB / 0.5468 GB, free: 66.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005163/1.07, allocations: 1.944 MB / 0.5487 GB, free: 64.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/1.07, allocations: 11.25 kB / 0.5487 GB, free: 64.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/1.07, allocations: 4 kB / 0.5487 GB, free: 64.28 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.261e-05/1.07, allocations: 7.938 kB / 0.5487 GB, free: 64.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01072/1.081, allocations: 4.035 MB / 0.5527 GB, free: 60.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/1.081, allocations: 4 kB / 0.5527 GB, free: 60.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001617/1.083, allocations: 196 kB / 0.5529 GB, free: 59.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002112/1.085, allocations: 482.3 kB / 0.5533 GB, free: 59.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002206/1.085, allocations: 27.98 kB / 0.5533 GB, free: 59.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0081/1.093, allocations: 6.31 MB / 0.5595 GB, free: 52.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/1.093, allocations: 4.031 kB / 0.5595 GB, free: 52.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006795/1.1, allocations: 2.951 MB / 0.5624 GB, free: 49.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/1.101, allocations: 363.2 kB / 0.5627 GB, free: 49.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003828/1.102, allocations: 31.94 kB / 0.5628 GB, free: 49.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/1.103, allocations: 75.92 kB / 0.5628 GB, free: 49.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000319/1.104, allocations: 76.89 kB / 0.5629 GB, free: 49.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/1.104, allocations: 31.98 kB / 0.5629 GB, free: 49.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001914/1.106, allocations: 0.923 MB / 0.5639 GB, free: 48.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.106, allocations: 4 kB / 0.5639 GB, free: 48.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002356/1.108, allocations: 475.9 kB / 0.5643 GB, free: 47.76 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 83 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007421/1.116, allocations: 4.165 MB / 0.5684 GB, free: 43.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005241/1.121, allocations: 2.091 MB / 0.5704 GB, free: 41.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/1.121, allocations: 128 / 0.5704 GB, free: 41.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003101/1.124, allocations: 1.375 MB / 0.5718 GB, free: 40 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00272/1.127, allocations: 360.5 kB / 0.5721 GB, free: 39.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03088/1.158, allocations: 18.28 MB / 0.59 GB, free: 20.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001569/1.159, allocations: 1.716 MB / 0.5916 GB, free: 19.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001519/1.161, allocations: 0.7102 MB / 0.5923 GB, free: 18.4 MB / 378.7 MB Notification: Performance of SimCode: time 1.273e-06/1.161, allocations: 0 / 0.5923 GB, free: 18.4 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.811/4.972, allocations: 61.03 MB / 0.6519 GB, free: 115.7 MB / 410.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.mat does not exist to compare? outputFormat=mat