Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.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_Conveyor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Conveyor",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.001382/0.001382, allocations: 181.2 kB / 17.01 MB, free: 5.125 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.611/1.611, allocations: 205.4 MB / 223.1 MB, free: 9.109 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.0009158/0.0009153, allocations: 94.59 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002514/0.0002514, allocations: 8 kB / 328.4 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2772, allocations: 47.57 MB / 375.9 MB, free: 45.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1424/0.4196, allocations: 107.3 MB / 483.2 MB, free: 5.285 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003705/0.4201, allocations: 95.94 kB / 483.3 MB, free: 5.191 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3803/0.8004, allocations: 44.46 MB / 0.5154 GB, free: 96.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.8004, allocations: 192 / 0.5154 GB, free: 96.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002183/0.8006, allocations: 57.97 kB / 0.5155 GB, free: 96.19 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: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.006089/0.8068, allocations: 2.3 MB / 0.5177 GB, free: 94.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.8068, allocations: 14 kB / 0.5177 GB, free: 94.93 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008655/0.8077, allocations: 276.9 kB / 0.518 GB, free: 94.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.8089, allocations: 274.2 kB / 0.5183 GB, free: 94.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003139/0.8121, allocations: 1.443 MB / 0.5197 GB, free: 93.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.874e-05/0.8122, allocations: 147.6 kB / 0.5198 GB, free: 93.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002518/0.8125, allocations: 191.6 kB / 0.52 GB, free: 93.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003267/0.8157, allocations: 2.409 MB / 0.5223 GB, free: 92.51 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.526e-05/0.8158, allocations: 12.62 kB / 0.5224 GB, free: 92.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001628/0.816, allocations: 78.56 kB / 0.5224 GB, free: 92.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.456e-05/0.8161, allocations: 79.72 kB / 0.5225 GB, free: 92.44 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002575/0.8186, allocations: 1.894 MB / 0.5244 GB, free: 91.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009377/0.828, allocations: 7.438 MB / 0.5316 GB, free: 84.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/0.8297, allocations: 1.382 MB / 0.533 GB, free: 82.97 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002582/0.8299, allocations: 145.8 kB / 0.5331 GB, free: 82.81 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008604/0.8308, allocations: 0.7062 MB / 0.5338 GB, free: 82.08 MB / 378.7 MB Notification: Performance of pre-optimization done (n=102): time 3.767e-06/0.8308, allocations: 0 / 0.5338 GB, free: 82.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=130): time 0.01551/0.8463, allocations: 8.371 MB / 0.542 GB, free: 73.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/0.8464, allocations: 167.5 kB / 0.5421 GB, free: 73.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001542/0.848, allocations: 1.224 MB / 0.5433 GB, free: 72.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.055e-05/0.8481, allocations: 53.64 kB / 0.5434 GB, free: 72.08 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006048/0.8487, allocations: 0.9287 MB / 0.5443 GB, free: 71.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002404/0.849, allocations: 457 kB / 0.5447 GB, free: 70.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.713e-05/0.849, allocations: 28 kB / 0.5447 GB, free: 70.67 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.724e-05/0.8491, allocations: 365.9 kB / 0.5451 GB, free: 70.31 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008318/0.85, allocations: 0.6988 MB / 0.5458 GB, free: 69.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009712/0.8509, allocations: 1.055 MB / 0.5468 GB, free: 68.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.852, allocations: 0.8496 MB / 0.5476 GB, free: 67.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.852, allocations: 4 kB / 0.5476 GB, free: 67.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.003504/0.8555, allocations: 2.525 MB / 0.5501 GB, free: 65.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.8555, allocations: 8 kB / 0.5501 GB, free: 65.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.8556, allocations: 15.98 kB / 0.5501 GB, free: 64.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001409/0.857, allocations: 0.6572 MB / 0.5508 GB, free: 64.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009899/0.858, allocations: 303.5 kB / 0.5511 GB, free: 64.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006146/0.8641, allocations: 6.694 MB / 0.5576 GB, free: 57.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.8656, allocations: 108 kB / 0.5577 GB, free: 56.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001835/0.8658, allocations: 55.98 kB / 0.5578 GB, free: 56.91 MB / 378.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: 5 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 145 * 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 {(5,76.0%) 23,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00126/0.8671, allocations: 0.6438 MB / 0.5584 GB, free: 56.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003983/0.8675, allocations: 158 kB / 0.5585 GB, free: 56.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003763/0.8712, allocations: 2.394 MB / 0.5609 GB, free: 53.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.8713, allocations: 16 kB / 0.5609 GB, free: 53.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.501e-05/0.8713, allocations: 8 kB / 0.5609 GB, free: 53.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.8713, allocations: 7.969 kB / 0.5609 GB, free: 53.65 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007526/0.8788, allocations: 4.8 MB / 0.5656 GB, free: 48.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.8789, allocations: 0 / 0.5656 GB, free: 48.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007317/0.8796, allocations: 187.9 kB / 0.5658 GB, free: 48.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001738/0.8814, allocations: 0.7419 MB / 0.5665 GB, free: 47.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.622e-05/0.8815, allocations: 31.98 kB / 0.5665 GB, free: 47.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007228/0.8887, allocations: 8.417 MB / 0.5747 GB, free: 38.99 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.8888, allocations: 11.89 kB / 0.5748 GB, free: 38.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004598/0.8934, allocations: 3.453 MB / 0.5781 GB, free: 35.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009086/0.8943, allocations: 402.9 kB / 0.5785 GB, free: 35.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/0.8945, allocations: 28 kB / 0.5785 GB, free: 34.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007837/0.8953, allocations: 87.84 kB / 0.5786 GB, free: 34.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002389/0.8956, allocations: 93.17 kB / 0.5787 GB, free: 34.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.878e-05/0.8957, allocations: 39.98 kB / 0.5788 GB, free: 34.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001226/0.8969, allocations: 0.9557 MB / 0.5797 GB, free: 33.81 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8969, allocations: 0 / 0.5797 GB, free: 33.81 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001525/0.8984, allocations: 0.5155 MB / 0.5802 GB, free: 33.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(7,59.2%) 21,(1,100.0%) 3,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005832/0.9043, allocations: 4.928 MB / 0.585 GB, free: 28.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003288/0.9076, allocations: 2.399 MB / 0.5873 GB, free: 25.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.9076, allocations: 4 kB / 0.5873 GB, free: 25.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00215/0.9098, allocations: 1.63 MB / 0.5889 GB, free: 24.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001814/0.9116, allocations: 379.6 kB / 0.5893 GB, free: 23.81 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01808/0.9297, allocations: 19.11 MB / 0.608 GB, free: 4.082 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/0.9308, allocations: 1.757 MB / 0.6097 GB, free: 2.289 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001017/0.9319, allocations: 321.2 kB / 0.61 GB, free: 1.969 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007589/0.9326, allocations: 0.7687 MB / 0.6107 GB, free: 1.199 MB / 378.7 MB Notification: Performance of SimCode: time 1.403e-06/0.9326, allocations: 4 kB / 0.6107 GB, free: 1.195 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2448/1.177, allocations: 43.76 MB / 0.6535 GB, free: 111.9 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/1.178, allocations: 277.2 kB / 0.6537 GB, free: 111.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.142/4.319, allocations: 0 / 0.6537 GB, free: 111.5 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Conveyor_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Conveyor.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor_res.mat does not exist to compare? outputFormat=mat