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_Steinmetz.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_Steinmetz,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz",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.001615/0.001615, allocations: 181.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.272/2.272, 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.001123/0.001122, allocations: 82.72 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.14e-05/3.144e-05, allocations: 4 kB / 321.6 MB, free: 17.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09734/0.0974, allocations: 47.57 MB / 369.2 MB, free: 2.09 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4527/0.5502, allocations: 103.9 MB / 473.1 MB, free: 5.566 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000323/0.5506, allocations: 89.62 kB / 473.2 MB, free: 5.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1814/0.7319, allocations: 41.4 MB / 0.5025 GB, free: 13.41 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.732, allocations: 0 / 0.5025 GB, free: 13.41 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002373/0.7322, allocations: 51.94 kB / 0.5026 GB, free: 13.36 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.007732/0.74, allocations: 1.981 MB / 0.5045 GB, free: 11.32 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.7401, allocations: 12.03 kB / 0.5045 GB, free: 11.31 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001033/0.7411, allocations: 278.4 kB / 0.5048 GB, free: 11.03 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/0.7425, allocations: 269.1 kB / 0.505 GB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004914/0.7475, allocations: 1.368 MB / 0.5064 GB, free: 9.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002346/0.7478, allocations: 147.8 kB / 0.5065 GB, free: 9.195 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008231/0.7486, allocations: 191.9 kB / 0.5067 GB, free: 9.008 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00781/0.7564, allocations: 2.374 MB / 0.509 GB, free: 6.547 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001012/0.7566, allocations: 0 / 0.509 GB, free: 6.547 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003352/0.7569, allocations: 80 kB / 0.5091 GB, free: 6.469 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001532/0.7571, allocations: 83.69 kB / 0.5092 GB, free: 6.387 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00667/0.7638, allocations: 1.846 MB / 0.511 GB, free: 4.539 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02357/0.7874, allocations: 7.839 MB / 0.5186 GB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003529/0.791, allocations: 1.372 MB / 0.52 GB, free: 11.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002759/0.7938, allocations: 0.8955 MB / 0.5208 GB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004794/0.7943, allocations: 138 kB / 0.521 GB, free: 10 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.74e-05/0.7944, allocations: 51.55 kB / 0.521 GB, free: 9.941 MB / 410.7 MB Notification: Performance of pre-optimization done (n=111): time 4.077e-06/0.7944, allocations: 0 / 0.521 GB, free: 9.941 MB / 410.7 MB Notification: Performance of matching and sorting (n=127): time 0.02056/0.815, allocations: 5.117 MB / 0.526 GB, free: 4.754 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7e-05/0.8151, allocations: 64.72 kB / 0.5261 GB, free: 4.676 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00307/0.8182, allocations: 1.085 MB / 0.5271 GB, free: 3.582 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003432/0.8185, allocations: 49.7 kB / 0.5272 GB, free: 3.527 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009129/0.8195, allocations: 0.848 MB / 0.528 GB, free: 2.668 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007548/0.8202, allocations: 433.7 kB / 0.5284 GB, free: 2.238 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.8204, allocations: 32 kB / 0.5285 GB, free: 2.207 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002352/0.8207, allocations: 370.7 kB / 0.5288 GB, free: 1.836 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001857/0.8225, allocations: 0.656 MB / 0.5295 GB, free: 1.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002177/0.8247, allocations: 0.9689 MB / 0.5304 GB, free: 88 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2816/1.106, allocations: 0.8 MB / 0.5312 GB, free: 105.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.455e-05/1.106, allocations: 6.125 kB / 0.5312 GB, free: 105.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.006416/1.113, allocations: 2.188 MB / 0.5333 GB, free: 105.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.912e-05/1.113, allocations: 13.05 kB / 0.5333 GB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.983e-05/1.113, allocations: 8.625 kB / 0.5333 GB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001998/1.115, allocations: 0.4968 MB / 0.5338 GB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002628/1.118, allocations: 331.4 kB / 0.5341 GB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009936/1.128, allocations: 6.627 MB / 0.5406 GB, free: 101.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00202/1.13, allocations: 90.78 kB / 0.5407 GB, free: 101.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002353/1.13, allocations: 57.92 kB / 0.5408 GB, free: 101.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 148 * 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,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004047/1.13, allocations: 185.8 kB / 0.5409 GB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004395/1.131, allocations: 149.6 kB / 0.5411 GB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006062/1.137, allocations: 2.096 MB / 0.5431 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-05/1.137, allocations: 16.38 kB / 0.5431 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.435e-05/1.137, allocations: 4.469 kB / 0.5431 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-05/1.137, allocations: 8.031 kB / 0.5432 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01278/1.15, allocations: 4.301 MB / 0.5474 GB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.625e-05/1.15, allocations: 5.875 kB / 0.5474 GB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002026/1.152, allocations: 223.5 kB / 0.5476 GB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00252/1.155, allocations: 0.5486 MB / 0.5481 GB, free: 101.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002881/1.155, allocations: 33.64 kB / 0.5481 GB, free: 101.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01102/1.166, allocations: 8.184 MB / 0.5561 GB, free: 95.63 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/1.166, allocations: 5.406 kB / 0.5561 GB, free: 95.63 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007207/1.173, allocations: 3.162 MB / 0.5592 GB, free: 94.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001264/1.175, allocations: 370.4 kB / 0.5596 GB, free: 93.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003758/1.175, allocations: 39.56 kB / 0.5596 GB, free: 93.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001477/1.176, allocations: 72.22 kB / 0.5597 GB, free: 93.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003607/1.177, allocations: 111.9 kB / 0.5598 GB, free: 93.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001278/1.177, allocations: 38.7 kB / 0.5598 GB, free: 93.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001717/1.179, allocations: 0.8317 MB / 0.5606 GB, free: 93.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.92e-07/1.179, allocations: 0 / 0.5606 GB, free: 93.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002413/1.181, allocations: 488.9 kB / 0.5611 GB, free: 93.46 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 95 * 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,100.0%) 9,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00786/1.189, allocations: 4.514 MB / 0.5655 GB, free: 90.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005003/1.194, allocations: 2.3 MB / 0.5678 GB, free: 89.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/1.194, allocations: 0 / 0.5678 GB, free: 89.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003494/1.198, allocations: 1.565 MB / 0.5693 GB, free: 88.78 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003017/1.201, allocations: 393.5 kB / 0.5697 GB, free: 88.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/1.211, allocations: 3.998 MB / 0.5736 GB, free: 86.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001526/1.213, allocations: 1.683 MB / 0.5752 GB, free: 86.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001578/1.214, allocations: 0.7254 MB / 0.5759 GB, free: 85.51 MB / 410.7 MB Notification: Performance of SimCode: time 9.81e-07/1.215, allocations: 4 kB / 0.5759 GB, free: 85.51 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.965/5.18, allocations: 78.37 MB / 0.6525 GB, free: 24.38 MB / 410.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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_Steinmetz_res.mat does not exist to compare? outputFormat=mat