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.001506/0.001505, allocations: 182.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.097/2.097, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.00111/0.001109, allocations: 90.62 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.201e-05/3.216e-05, allocations: 0 / 321.6 MB, free: 17.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09653/0.09659, allocations: 47.57 MB / 369.2 MB, free: 2.105 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4603/0.5569, allocations: 102.6 MB / 471.8 MB, free: 6.902 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003731/0.5574, allocations: 86.39 kB / 471.9 MB, free: 6.859 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1949/0.7523, allocations: 41.07 MB / 0.5009 GB, free: 15.1 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.02e-06/0.7524, allocations: 4 kB / 0.5009 GB, free: 15.1 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001991/0.7526, allocations: 59.88 kB / 0.501 GB, free: 15.04 MB / 394.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.006986/0.7596, allocations: 1.984 MB / 0.5029 GB, free: 13 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.7597, allocations: 8.031 kB / 0.5029 GB, free: 13 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00083/0.7605, allocations: 265.8 kB / 0.5032 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/0.7617, allocations: 261.2 kB / 0.5034 GB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004677/0.7664, allocations: 1.412 MB / 0.5048 GB, free: 11 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000181/0.7666, allocations: 135.6 kB / 0.5049 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005173/0.7671, allocations: 191.8 kB / 0.5051 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006544/0.7737, allocations: 2.322 MB / 0.5074 GB, free: 8.273 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.099e-05/0.7738, allocations: 15.89 kB / 0.5074 GB, free: 8.258 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002948/0.7742, allocations: 76 kB / 0.5075 GB, free: 8.184 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001404/0.7743, allocations: 79.5 kB / 0.5075 GB, free: 8.105 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005703/0.78, allocations: 1.849 MB / 0.5093 GB, free: 6.254 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02059/0.8007, allocations: 7.495 MB / 0.5167 GB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00329/0.804, allocations: 1.284 MB / 0.5179 GB, free: 13.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002408/0.8065, allocations: 0.8061 MB / 0.5187 GB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004311/0.8069, allocations: 137.8 kB / 0.5188 GB, free: 12.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.499e-05/0.807, allocations: 39.34 kB / 0.5189 GB, free: 12.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=87): time 4.378e-06/0.807, allocations: 0 / 0.5189 GB, free: 12.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=103): time 0.01343/0.8204, allocations: 4.094 MB / 0.5229 GB, free: 8.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/0.8206, allocations: 68.34 kB / 0.5229 GB, free: 7.938 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002853/0.8234, allocations: 1.18 MB / 0.5241 GB, free: 6.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002609/0.8237, allocations: 45.7 kB / 0.5241 GB, free: 6.699 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008839/0.8246, allocations: 0.8555 MB / 0.525 GB, free: 5.832 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005073/0.8251, allocations: 366.7 kB / 0.5253 GB, free: 5.469 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.8253, allocations: 24 kB / 0.5253 GB, free: 5.445 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002098/0.8255, allocations: 358.8 kB / 0.5257 GB, free: 5.086 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001617/0.8271, allocations: 0.6077 MB / 0.5263 GB, free: 4.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001908/0.829, allocations: 0.8948 MB / 0.5271 GB, free: 3.465 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001906/0.831, allocations: 0.7388 MB / 0.5279 GB, free: 2.727 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.28e-05/0.831, allocations: 4 kB / 0.5279 GB, free: 2.723 MB / 410.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007022/0.838, allocations: 2.294 MB / 0.5301 GB, free: 420 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.713e-05/0.8381, allocations: 8 kB / 0.5301 GB, free: 412 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.422e-05/0.8382, allocations: 12 kB / 0.5301 GB, free: 400 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2785/1.117, allocations: 0.7716 MB / 0.5309 GB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001792/1.119, allocations: 236.1 kB / 0.5311 GB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01854/1.137, allocations: 8.553 MB / 0.5395 GB, free: 103.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002035/1.139, allocations: 85.12 kB / 0.5395 GB, free: 103.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002458/1.14, allocations: 48.84 kB / 0.5396 GB, free: 103.7 MB / 410.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 () * 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.0003514/1.14, allocations: 176.4 kB / 0.5398 GB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004462/1.14, allocations: 142.6 kB / 0.5399 GB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00532/1.146, allocations: 1.87 MB / 0.5417 GB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.183e-05/1.146, allocations: 9.625 kB / 0.5417 GB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/1.146, allocations: 4.672 kB / 0.5417 GB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.932e-05/1.146, allocations: 4.547 kB / 0.5417 GB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01247/1.158, allocations: 3.97 MB / 0.5456 GB, free: 103 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/1.158, allocations: 2.75 kB / 0.5456 GB, free: 103 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001762/1.16, allocations: 194.9 kB / 0.5458 GB, free: 103 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002202/1.162, allocations: 466.2 kB / 0.5462 GB, free: 103 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002474/1.163, allocations: 30.08 kB / 0.5463 GB, free: 103 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008453/1.171, allocations: 6.167 MB / 0.5523 GB, free: 99.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/1.171, allocations: 4.375 kB / 0.5523 GB, free: 99.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006656/1.178, allocations: 2.882 MB / 0.5551 GB, free: 97.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/1.179, allocations: 361.2 kB / 0.5555 GB, free: 97.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003208/1.179, allocations: 23.28 kB / 0.5555 GB, free: 97.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001445/1.181, allocations: 79.86 kB / 0.5556 GB, free: 97.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003011/1.181, allocations: 79.17 kB / 0.5556 GB, free: 97.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/1.181, allocations: 31.94 kB / 0.5557 GB, free: 97.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001863/1.183, allocations: 0.9086 MB / 0.5565 GB, free: 97.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.91e-07/1.183, allocations: 3.219 kB / 0.5566 GB, free: 97.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00241/1.186, allocations: 473.3 kB / 0.557 GB, free: 97.22 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 84 * 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.007003/1.193, allocations: 4.21 MB / 0.5611 GB, free: 94.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005874/1.199, allocations: 1.992 MB / 0.5631 GB, free: 93.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/1.199, allocations: 0 / 0.5631 GB, free: 93.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00297/1.202, allocations: 1.33 MB / 0.5644 GB, free: 93.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002659/1.204, allocations: 354.5 kB / 0.5647 GB, free: 93.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009379/1.214, allocations: 3.851 MB / 0.5685 GB, free: 91.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001507/1.215, allocations: 1.707 MB / 0.5701 GB, free: 90.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001471/1.217, allocations: 0.7177 MB / 0.5708 GB, free: 90.05 MB / 410.7 MB Notification: Performance of SimCode: time 1.223e-06/1.217, allocations: 3.828 kB / 0.5708 GB, free: 90.05 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.621/4.838, allocations: 60.92 MB / 0.6303 GB, free: 47.41 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