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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 98.58 kB / 16.94 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 181.9 kB / 17.83 MB, free: 5.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.617/1.617, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004567/0.0004567, allocations: 12 kB / 280.9 MB, free: 3.648 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1382, allocations: 47.57 MB / 328.4 MB, free: 4.008 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.01079/0.1491, allocations: 7.654 MB / 336.1 MB, free: 12.32 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008029/0.1572, allocations: 3.249 MB / 339.3 MB, free: 9.062 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002024/0.1593, allocations: 39.81 kB / 339.4 MB, free: 9.023 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002054/0.1613, allocations: 0.6144 MB / 340 MB, free: 8.406 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002675/0.164, allocations: 0.6971 MB / 340.7 MB, free: 7.707 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.1653, allocations: 307.4 kB / 341 MB, free: 7.406 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003374/0.1687, allocations: 1.587 MB / 342.6 MB, free: 5.812 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001616/0.1704, allocations: 1.224 MB / 343.8 MB, free: 4.555 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001474/0.1718, allocations: 0.7667 MB / 344.6 MB, free: 3.785 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001304/0.1732, allocations: 1 MB / 345.6 MB, free: 2.781 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002127/0.1734, allocations: 120 kB / 345.7 MB, free: 2.664 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006283/0.174, allocations: 215.8 kB / 345.9 MB, free: 2.453 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006168/0.1746, allocations: 0.5803 MB / 346.5 MB, free: 1.871 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000503/0.1752, allocations: 456.6 kB / 346.9 MB, free: 1.418 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002791/0.178, allocations: 2.953 MB / 349.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.178, allocations: 4 kB / 349.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.178, allocations: 3.938 kB / 349.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.234e-05/0.1781, allocations: 4 kB / 349.9 MB, free: 14.45 MB / 302.1 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.004955/0.183, allocations: 2.258 MB / 352.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.1831, allocations: 12.03 kB / 352.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004221/0.1835, allocations: 282.4 kB / 352.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006984/0.1842, allocations: 269 kB / 352.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002364/0.1866, allocations: 1.264 MB / 353.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.1867, allocations: 139.7 kB / 354.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002857/0.187, allocations: 191.9 kB / 354.3 MB, free: 9.922 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004237/0.1913, allocations: 2.416 MB / 356.7 MB, free: 7.473 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.721e-05/0.1913, allocations: 3.984 kB / 356.7 MB, free: 7.469 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001813/0.1915, allocations: 76 kB / 356.8 MB, free: 7.395 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001233/0.1917, allocations: 95.69 kB / 356.9 MB, free: 7.301 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003534/0.1952, allocations: 1.974 MB / 358.8 MB, free: 5.324 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01337/0.2086, allocations: 7.382 MB / 366.2 MB, free: 13.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/0.2106, allocations: 1.352 MB / 367.6 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002829/0.2109, allocations: 126.1 kB / 367.7 MB, free: 12.19 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001072/0.212, allocations: 0.6866 MB / 368.4 MB, free: 11.48 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 2.565e-06/0.212, allocations: 4 kB / 368.4 MB, free: 11.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=121): time 0.01616/0.2282, allocations: 7.383 MB / 375.8 MB, free: 3.906 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001487/0.2284, allocations: 171.2 kB / 375.9 MB, free: 3.703 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002238/0.2306, allocations: 1.368 MB / 377.3 MB, free: 2.316 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001281/0.2308, allocations: 49.7 kB / 377.3 MB, free: 2.262 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009799/0.2318, allocations: 0.9287 MB / 378.3 MB, free: 1.32 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004024/0.2322, allocations: 421.9 kB / 378.7 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.711e-05/0.2323, allocations: 28 kB / 378.7 MB, free: 0.875 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.2325, allocations: 361.9 kB / 379.1 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2354/0.4678, allocations: 0.6357 MB / 379.7 MB, free: 50.25 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001574/0.4694, allocations: 0.9956 MB / 380.7 MB, free: 49.88 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001633/0.4711, allocations: 0.7932 MB / 381.5 MB, free: 49.86 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/0.4711, allocations: 2.844 kB / 381.5 MB, free: 49.86 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004408/0.4755, allocations: 2.317 MB / 383.8 MB, free: 49.4 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.4756, allocations: 9.219 kB / 383.8 MB, free: 49.4 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.502e-05/0.4756, allocations: 11.09 kB / 383.8 MB, free: 49.4 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/0.4768, allocations: 475 kB / 384.3 MB, free: 49.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.478, allocations: 306.1 kB / 384.6 MB, free: 49.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007227/0.4852, allocations: 6.531 MB / 391.1 MB, free: 44.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.4868, allocations: 95.98 kB / 391.2 MB, free: 44.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.4869, allocations: 55.5 kB / 391.3 MB, free: 44.15 MB / 318.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (151): * Single equations (assignments): 146 * 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%) 3,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001415/0.4884, allocations: 0.6313 MB / 391.9 MB, free: 43.8 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003555/0.4887, allocations: 154.7 kB / 392.1 MB, free: 43.8 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003589/0.4923, allocations: 2.136 MB / 394.2 MB, free: 42.89 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.4923, allocations: 12.34 kB / 394.2 MB, free: 42.89 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.4924, allocations: 3.906 kB / 394.2 MB, free: 42.89 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.811e-05/0.4924, allocations: 6.188 kB / 394.2 MB, free: 42.89 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006957/0.4994, allocations: 4.423 MB / 398.6 MB, free: 40.97 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.4994, allocations: 7.406 kB / 398.6 MB, free: 40.97 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007175/0.5001, allocations: 201.8 kB / 398.8 MB, free: 40.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001121/0.5012, allocations: 0.5104 MB / 399.4 MB, free: 40.8 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.461e-05/0.5013, allocations: 31.72 kB / 399.4 MB, free: 40.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005547/0.5069, allocations: 7.986 MB / 407.4 MB, free: 33.96 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.5069, allocations: 3.625 kB / 407.4 MB, free: 33.96 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003985/0.5109, allocations: 3.254 MB / 410.6 MB, free: 31.22 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007418/0.5117, allocations: 364.8 kB / 411 MB, free: 30.84 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001893/0.5119, allocations: 35.98 kB / 411 MB, free: 30.81 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006909/0.5126, allocations: 67.94 kB / 411.1 MB, free: 30.74 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/0.5128, allocations: 104.8 kB / 411.2 MB, free: 30.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-05/0.5129, allocations: 35.98 kB / 411.2 MB, free: 30.6 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001107/0.514, allocations: 0.9362 MB / 412.2 MB, free: 29.66 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.514, allocations: 0 / 412.2 MB, free: 29.66 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001582/0.5156, allocations: 450.6 kB / 412.6 MB, free: 29.23 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (107): * Single equations (assignments): 100 * 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: 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%) 3,(1,100.0%) 3,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004636/0.5202, allocations: 4.948 MB / 417.5 MB, free: 24.18 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002942/0.5232, allocations: 2.242 MB / 419.8 MB, free: 21.87 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.5232, allocations: 0 / 419.8 MB, free: 21.87 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001676/0.5249, allocations: 1.514 MB / 421.3 MB, free: 20.28 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/0.5264, allocations: 388.5 kB / 421.7 MB, free: 19.9 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0183/0.5447, allocations: 18.74 MB / 440.4 MB, free: 0.582 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00137/0.5462, allocations: 1.747 MB / 442.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001162/0.5473, allocations: 324.9 kB / 442.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000959/0.5483, allocations: 0.7414 MB / 443.2 MB, free: 13.74 MB / 334.1 MB Notification: Performance of SimCode: time 1.262e-06/0.5483, allocations: 0 / 443.2 MB, free: 13.74 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06276/0.6111, allocations: 38.04 MB / 481.3 MB, free: 7.633 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002619/0.6114, allocations: 282.3 kB / 481.5 MB, free: 7.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.535/3.146, allocations: 7.938 kB / 481.6 MB, free: 7.262 MB / 366.1 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) Environment - environmentSimulation: 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