Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001098/0.001098, allocations: 171.9 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.418/1.418, allocations: 205.2 MB / 219.8 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.000842/0.0008421, allocations: 86.64 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.962e-05/2.969e-05, allocations: 4 kB / 322.6 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08652/0.08657, allocations: 47.56 MB / 370.1 MB, free: 1.617 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.331/0.4176, allocations: 102.6 MB / 472.7 MB, free: 6.988 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/0.418, allocations: 84.58 kB / 472.8 MB, free: 6.945 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1093/0.5273, allocations: 41.07 MB / 0.5018 GB, free: 14.74 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.5273, allocations: 0 / 0.5018 GB, free: 14.74 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001324/0.5275, allocations: 51.94 kB / 0.5019 GB, free: 14.69 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.004342/0.5318, allocations: 1.992 MB / 0.5038 GB, free: 12.65 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.188e-05/0.5319, allocations: 12.02 kB / 0.5038 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006351/0.5325, allocations: 261.8 kB / 0.5041 GB, free: 12.37 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009174/0.5334, allocations: 261.2 kB / 0.5043 GB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002875/0.5363, allocations: 1.412 MB / 0.5057 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.5365, allocations: 131.6 kB / 0.5058 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002938/0.5368, allocations: 191.8 kB / 0.506 GB, free: 10.33 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003821/0.5406, allocations: 2.33 MB / 0.5083 GB, free: 7.914 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.194e-05/0.5407, allocations: 7.906 kB / 0.5083 GB, free: 7.906 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001711/0.5408, allocations: 75.98 kB / 0.5084 GB, free: 7.832 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-05/0.5409, allocations: 87.48 kB / 0.5084 GB, free: 7.746 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002895/0.5438, allocations: 1.841 MB / 0.5102 GB, free: 5.902 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01179/0.5556, allocations: 7.499 MB / 0.5176 GB, free: 14.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001998/0.5577, allocations: 1.28 MB / 0.5188 GB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001367/0.5591, allocations: 0.8061 MB / 0.5196 GB, free: 12.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003131/0.5594, allocations: 133.8 kB / 0.5197 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.5595, allocations: 43.34 kB / 0.5198 GB, free: 11.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=87): time 3.166e-06/0.5595, allocations: 8 kB / 0.5198 GB, free: 11.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=103): time 0.008325/0.5678, allocations: 4.094 MB / 0.5238 GB, free: 7.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.5679, allocations: 64.41 kB / 0.5238 GB, free: 7.582 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002112/0.5701, allocations: 1.184 MB / 0.525 GB, free: 6.391 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001892/0.5703, allocations: 41.7 kB / 0.525 GB, free: 6.344 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006662/0.5709, allocations: 0.8853 MB / 0.5259 GB, free: 5.445 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003192/0.5713, allocations: 362.8 kB / 0.5262 GB, free: 5.086 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.195e-05/0.5713, allocations: 24 kB / 0.5263 GB, free: 5.062 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.5715, allocations: 353.9 kB / 0.5266 GB, free: 4.711 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000949/0.5725, allocations: 0.6039 MB / 0.5272 GB, free: 4.109 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/0.5736, allocations: 0.8948 MB / 0.5281 GB, free: 3.094 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.5747, allocations: 0.7504 MB / 0.5288 GB, free: 2.344 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.5747, allocations: 3.938 kB / 0.5288 GB, free: 2.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.208/0.7827, allocations: 2.385 MB / 0.5311 GB, free: 105.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.068e-05/0.7828, allocations: 8.75 kB / 0.5311 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-05/0.7828, allocations: 10.03 kB / 0.5312 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002432/0.7852, allocations: 0.7732 MB / 0.5319 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.7864, allocations: 236.9 kB / 0.5321 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01121/0.7976, allocations: 8.551 MB / 0.5405 GB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.799, allocations: 89.09 kB / 0.5406 GB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/0.7991, allocations: 46.92 kB / 0.5406 GB, free: 102.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.000232/0.7994, allocations: 179.9 kB / 0.5408 GB, free: 102.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003595/0.7997, allocations: 142.8 kB / 0.5409 GB, free: 102.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003582/0.8033, allocations: 1.862 MB / 0.5427 GB, free: 102.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.8034, allocations: 9.625 kB / 0.5428 GB, free: 102.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.8034, allocations: 4.125 kB / 0.5428 GB, free: 102.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/0.8034, allocations: 8.547 kB / 0.5428 GB, free: 102.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00845/0.8119, allocations: 3.979 MB / 0.5467 GB, free: 102 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.8119, allocations: 2.75 kB / 0.5467 GB, free: 102 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008864/0.8128, allocations: 195.9 kB / 0.5468 GB, free: 102 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001358/0.8142, allocations: 468.9 kB / 0.5473 GB, free: 102 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001203/0.8143, allocations: 26.98 kB / 0.5473 GB, free: 102 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005182/0.8195, allocations: 6.165 MB / 0.5533 GB, free: 98.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.8196, allocations: 8.25 kB / 0.5533 GB, free: 98.17 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00373/0.8233, allocations: 2.867 MB / 0.5561 GB, free: 96.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007647/0.8241, allocations: 358.3 kB / 0.5565 GB, free: 96.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003293/0.8244, allocations: 29.89 kB / 0.5565 GB, free: 96.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009033/0.8254, allocations: 74.05 kB / 0.5566 GB, free: 96.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002018/0.8256, allocations: 90.92 kB / 0.5567 GB, free: 96.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.89e-05/0.8257, allocations: 30.92 kB / 0.5567 GB, free: 96.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001601/0.8273, allocations: 0.9117 MB / 0.5576 GB, free: 96.22 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.8273, allocations: 0 / 0.5576 GB, free: 96.22 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001905/0.8292, allocations: 470.5 kB / 0.558 GB, free: 96.18 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.004162/0.8334, allocations: 4.207 MB / 0.5621 GB, free: 93.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003115/0.8365, allocations: 1.991 MB / 0.5641 GB, free: 92.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.034e-06/0.8365, allocations: 0 / 0.5641 GB, free: 92.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001811/0.8384, allocations: 1.337 MB / 0.5654 GB, free: 92.13 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001904/0.8403, allocations: 358.9 kB / 0.5657 GB, free: 92.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007339/0.8476, allocations: 3.827 MB / 0.5695 GB, free: 90.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00129/0.849, allocations: 1.728 MB / 0.5712 GB, free: 89.58 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001085/0.8501, allocations: 315.4 kB / 0.5715 GB, free: 89.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009651/0.8511, allocations: 0.712 MB / 0.5722 GB, free: 88.98 MB / 410.7 MB Notification: Performance of SimCode: time 1.974e-06/0.8511, allocations: 0 / 0.5722 GB, free: 88.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07862/0.9297, allocations: 40.08 MB / 0.6113 GB, free: 67.35 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002578/0.93, allocations: 203 kB / 0.6115 GB, free: 67.13 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.905/3.835, allocations: 0 / 0.6115 GB, free: 67.13 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize.fmu > Modelica_3.2.3_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_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.mat does not exist to compare? outputFormat=mat