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_DOL.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_DOL,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL",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.002266/0.00227, 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.127/2.127, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001171/0.001171, allocations: 86.72 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.15e-05/4.174e-05, allocations: 8 kB / 321.6 MB, free: 17.74 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1257, allocations: 47.57 MB / 369.2 MB, free: 2.105 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4583/0.584, allocations: 103.7 MB / 472.8 MB, free: 5.887 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003247/0.5844, allocations: 87.39 kB / 472.9 MB, free: 5.844 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.199/0.7834, allocations: 44.55 MB / 0.5054 GB, free: 10.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.7835, allocations: 0 / 0.5054 GB, free: 10.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002856/0.7838, allocations: 59.92 kB / 0.5054 GB, free: 10.43 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.008739/0.7925, allocations: 2.181 MB / 0.5075 GB, free: 8.188 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.7926, allocations: 11.97 kB / 0.5076 GB, free: 8.176 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001298/0.7939, allocations: 295.3 kB / 0.5078 GB, free: 7.875 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001763/0.7957, allocations: 288.9 kB / 0.5081 GB, free: 7.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006011/0.8018, allocations: 1.542 MB / 0.5096 GB, free: 5.988 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002598/0.8021, allocations: 152 kB / 0.5098 GB, free: 5.836 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009355/0.803, allocations: 207.9 kB / 0.51 GB, free: 5.633 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008522/0.8116, allocations: 2.64 MB / 0.5125 GB, free: 2.855 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001034/0.8117, allocations: 8 kB / 0.5125 GB, free: 2.848 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003504/0.8121, allocations: 84 kB / 0.5126 GB, free: 2.766 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001575/0.8123, allocations: 83.94 kB / 0.5127 GB, free: 2.684 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007729/0.82, allocations: 2.14 MB / 0.5148 GB, free: 0.543 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02546/0.8455, allocations: 8.454 MB / 0.5231 GB, free: 7.863 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003892/0.8495, allocations: 1.767 MB / 0.5248 GB, free: 5.977 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002893/0.8524, allocations: 0.9645 MB / 0.5257 GB, free: 5.008 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004763/0.8529, allocations: 138 kB / 0.5259 GB, free: 4.855 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.318e-05/0.853, allocations: 43.56 kB / 0.5259 GB, free: 4.805 MB / 410.7 MB Notification: Performance of pre-optimization done (n=107): time 3.717e-06/0.853, allocations: 4 kB / 0.5259 GB, free: 4.801 MB / 410.7 MB Notification: Performance of matching and sorting (n=123): time 0.3022/1.155, allocations: 5.231 MB / 0.531 GB, free: 103.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/1.155, allocations: 66.22 kB / 0.5311 GB, free: 103.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003875/1.159, allocations: 1.305 MB / 0.5323 GB, free: 103.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003284/1.16, allocations: 49.08 kB / 0.5324 GB, free: 103.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009005/1.161, allocations: 0.9287 MB / 0.5333 GB, free: 103.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006465/1.161, allocations: 430 kB / 0.5337 GB, free: 103.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/1.161, allocations: 29.91 kB / 0.5337 GB, free: 103.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/1.162, allocations: 365.4 kB / 0.5341 GB, free: 102.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002018/1.164, allocations: 0.7013 MB / 0.5348 GB, free: 102.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002333/1.166, allocations: 0.997 MB / 0.5357 GB, free: 102.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00246/1.168, allocations: 0.8466 MB / 0.5366 GB, free: 102.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-05/1.169, allocations: 5.125 kB / 0.5366 GB, free: 102.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006931/1.175, allocations: 2.159 MB / 0.5387 GB, free: 102.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.136e-05/1.176, allocations: 8.281 kB / 0.5387 GB, free: 102.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.202e-05/1.176, allocations: 9 kB / 0.5387 GB, free: 102.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001696/1.177, allocations: 409.5 kB / 0.5391 GB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002777/1.18, allocations: 341.4 kB / 0.5394 GB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007636/1.188, allocations: 4.64 MB / 0.5439 GB, free: 99.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00221/1.19, allocations: 89.34 kB / 0.544 GB, free: 99.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003786/1.191, allocations: 51.86 kB / 0.5441 GB, free: 99.74 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: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * 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: 2 * 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: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004776/1.191, allocations: 184.6 kB / 0.5443 GB, free: 99.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006355/1.192, allocations: 164.9 kB / 0.5444 GB, free: 99.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00647/1.198, allocations: 2.101 MB / 0.5465 GB, free: 99.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.897e-05/1.198, allocations: 12.83 kB / 0.5465 GB, free: 99.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-05/1.198, allocations: 3.844 kB / 0.5465 GB, free: 99.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-05/1.198, allocations: 8.719 kB / 0.5465 GB, free: 99.42 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01431/1.213, allocations: 4.524 MB / 0.5509 GB, free: 98.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.095e-05/1.213, allocations: 6.062 kB / 0.5509 GB, free: 98.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002114/1.215, allocations: 239.2 kB / 0.5511 GB, free: 98.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002348/1.217, allocations: 472.2 kB / 0.5516 GB, free: 98.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003209/1.218, allocations: 38.14 kB / 0.5516 GB, free: 98.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008311/1.226, allocations: 6.167 MB / 0.5577 GB, free: 94.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/1.226, allocations: 3.281 kB / 0.5577 GB, free: 94.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009472/1.235, allocations: 3.292 MB / 0.5609 GB, free: 92.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001427/1.237, allocations: 402.8 kB / 0.5613 GB, free: 92.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000402/1.237, allocations: 32.88 kB / 0.5613 GB, free: 92.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001617/1.239, allocations: 85.61 kB / 0.5614 GB, free: 92.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003918/1.239, allocations: 112.6 kB / 0.5615 GB, free: 92.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001311/1.24, allocations: 34.53 kB / 0.5615 GB, free: 92.33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002127/1.242, allocations: 1.011 MB / 0.5625 GB, free: 91.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.01e-07/1.242, allocations: 0 / 0.5625 GB, free: 91.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002711/1.244, allocations: 489.7 kB / 0.563 GB, free: 91.88 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 104 * 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.008246/1.253, allocations: 4.77 MB / 0.5676 GB, free: 89.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005158/1.258, allocations: 2.206 MB / 0.5698 GB, free: 88.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/1.258, allocations: 3.938 kB / 0.5698 GB, free: 88.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003761/1.262, allocations: 1.471 MB / 0.5712 GB, free: 87.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003404/1.265, allocations: 409.2 kB / 0.5716 GB, free: 87.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/1.277, allocations: 4.332 MB / 0.5758 GB, free: 85.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001694/1.279, allocations: 1.844 MB / 0.5776 GB, free: 84.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001778/1.281, allocations: 0.7956 MB / 0.5784 GB, free: 83.88 MB / 410.7 MB Notification: Performance of SimCode: time 1.493e-06/1.281, allocations: 3.5 kB / 0.5784 GB, free: 83.88 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.924/5.205, allocations: 78.5 MB / 0.6551 GB, free: 21.98 MB / 410.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.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_DOL_res.mat does not exist to compare? outputFormat=mat