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.001181/0.001181, allocations: 172.3 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.514/1.514, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.00101/0.00101, allocations: 74.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.02e-05/3.024e-05, allocations: 4 kB / 322.6 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08818/0.08823, allocations: 47.57 MB / 370.1 MB, free: 1.609 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3221/0.4104, allocations: 107.2 MB / 477.3 MB, free: 2.402 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/0.4107, allocations: 86.2 kB / 477.4 MB, free: 2.359 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1154/0.526, allocations: 44.53 MB / 0.5097 GB, free: 6.664 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5261, allocations: 0 / 0.5097 GB, free: 6.664 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001486/0.5263, allocations: 51.94 kB / 0.5098 GB, free: 6.613 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: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.004134/0.5304, allocations: 2.073 MB / 0.5118 GB, free: 4.488 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.5305, allocations: 11.97 kB / 0.5118 GB, free: 4.477 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004408/0.5309, allocations: 282.4 kB / 0.5121 GB, free: 4.191 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007559/0.5317, allocations: 273.1 kB / 0.5123 GB, free: 3.922 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002809/0.5345, allocations: 1.428 MB / 0.5137 GB, free: 2.438 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.5346, allocations: 139.8 kB / 0.5139 GB, free: 2.301 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000275/0.5349, allocations: 191.9 kB / 0.514 GB, free: 2.113 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003673/0.5386, allocations: 2.363 MB / 0.5163 GB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.073e-05/0.5386, allocations: 15.89 kB / 0.5164 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00017/0.5388, allocations: 79.91 kB / 0.5164 GB, free: 15.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.87e-05/0.5389, allocations: 83.69 kB / 0.5165 GB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002858/0.5418, allocations: 1.842 MB / 0.5183 GB, free: 13.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01124/0.553, allocations: 7.441 MB / 0.5256 GB, free: 6.016 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00176/0.5548, allocations: 1.345 MB / 0.5269 GB, free: 4.602 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00103/0.5559, allocations: 0.7145 MB / 0.5276 GB, free: 3.891 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002779/0.5562, allocations: 150 kB / 0.5277 GB, free: 3.727 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009284/0.5571, allocations: 0.6759 MB / 0.5284 GB, free: 3.023 MB / 410.7 MB Notification: Performance of pre-optimization done (n=102): time 3.427e-06/0.5571, allocations: 0 / 0.5284 GB, free: 3.023 MB / 410.7 MB Notification: Performance of matching and sorting (n=130): time 0.2512/0.8084, allocations: 7.632 MB / 0.5359 GB, free: 103.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.892e-05/0.8085, allocations: 200 kB / 0.536 GB, free: 103.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002967/0.8115, allocations: 1.219 MB / 0.5372 GB, free: 103.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002174/0.8118, allocations: 48.89 kB / 0.5373 GB, free: 103.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001157/0.8129, allocations: 0.9254 MB / 0.5382 GB, free: 102.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005594/0.8135, allocations: 452.4 kB / 0.5386 GB, free: 102.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.8136, allocations: 27.59 kB / 0.5386 GB, free: 102.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.8138, allocations: 363.9 kB / 0.539 GB, free: 102.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001621/0.8154, allocations: 0.6655 MB / 0.5396 GB, free: 102.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/0.8173, allocations: 1.033 MB / 0.5406 GB, free: 101.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001922/0.8192, allocations: 0.8345 MB / 0.5415 GB, free: 101.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/0.8193, allocations: 4.609 kB / 0.5415 GB, free: 101.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.006693/0.826, allocations: 2.47 MB / 0.5439 GB, free: 101.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.242e-05/0.826, allocations: 9.594 kB / 0.5439 GB, free: 101.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.115e-05/0.8261, allocations: 9.969 kB / 0.5439 GB, free: 101.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002568/0.8287, allocations: 0.6549 MB / 0.5445 GB, free: 101.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001838/0.8305, allocations: 301.8 kB / 0.5448 GB, free: 101.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01145/0.842, allocations: 6.455 MB / 0.5511 GB, free: 99.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/0.8441, allocations: 108.6 kB / 0.5512 GB, free: 99.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002302/0.8444, allocations: 52.25 kB / 0.5513 GB, free: 99.07 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 () * 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,84.0%) 23,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004032/0.8448, allocations: 196.9 kB / 0.5515 GB, free: 98.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004153/0.8452, allocations: 164.6 kB / 0.5516 GB, free: 98.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005307/0.8505, allocations: 2.342 MB / 0.5539 GB, free: 98.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/0.8506, allocations: 11.84 kB / 0.5539 GB, free: 98.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/0.8506, allocations: 7.875 kB / 0.5539 GB, free: 98.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-05/0.8506, allocations: 7.688 kB / 0.5539 GB, free: 98.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/0.861, allocations: 4.843 MB / 0.5587 GB, free: 96.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/0.8611, allocations: 3.906 kB / 0.5587 GB, free: 96.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/0.8622, allocations: 187.3 kB / 0.5589 GB, free: 96.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002711/0.8649, allocations: 0.74 MB / 0.5596 GB, free: 96.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001409/0.8651, allocations: 37.61 kB / 0.5596 GB, free: 96.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01145/0.8766, allocations: 8.139 MB / 0.5676 GB, free: 90.56 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.246e-06/0.8766, allocations: 13.47 kB / 0.5676 GB, free: 90.56 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007151/0.8838, allocations: 3.417 MB / 0.5709 GB, free: 89.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001504/0.8853, allocations: 400.5 kB / 0.5713 GB, free: 88.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003947/0.8858, allocations: 36.39 kB / 0.5713 GB, free: 88.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/0.8871, allocations: 78.09 kB / 0.5714 GB, free: 88.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004223/0.8875, allocations: 109.2 kB / 0.5715 GB, free: 88.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001307/0.8877, allocations: 40.25 kB / 0.5715 GB, free: 88.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002011/0.8897, allocations: 0.9322 MB / 0.5725 GB, free: 88.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.8897, allocations: 0 / 0.5725 GB, free: 88.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002952/0.8927, allocations: 0.5136 MB / 0.573 GB, free: 88.26 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * 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,63.3%) 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.008717/0.9014, allocations: 4.958 MB / 0.5778 GB, free: 85.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005084/0.9066, allocations: 2.332 MB / 0.5801 GB, free: 84.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.9066, allocations: 7.156 kB / 0.5801 GB, free: 84.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003454/0.9101, allocations: 1.598 MB / 0.5816 GB, free: 83.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002866/0.913, allocations: 386.3 kB / 0.582 GB, free: 83.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/0.9238, allocations: 4.047 MB / 0.586 GB, free: 81.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001786/0.9257, allocations: 1.759 MB / 0.5877 GB, free: 80.92 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002091/0.9278, allocations: 319.8 kB / 0.588 GB, free: 80.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001416/0.9292, allocations: 0.7693 MB / 0.5887 GB, free: 80.27 MB / 410.7 MB Notification: Performance of SimCode: time 1.834e-06/0.9293, allocations: 0 / 0.5887 GB, free: 80.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07248/1.002, allocations: 43.93 MB / 0.6316 GB, free: 47.36 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/1.002, allocations: 249.6 kB / 0.6319 GB, free: 47.02 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.117/4.119, allocations: 0 / 0.6319 GB, free: 47.02 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