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.0009905/0.0009907, allocations: 91.02 kB / 16.95 MB, free: 6.453 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.00123/0.00123, allocations: 181.4 kB / 17.84 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.049/2.049, allocations: 205.4 MB / 224 MB, free: 13.17 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.00051/0.0005101, allocations: 12 kB / 280.9 MB, free: 3.633 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.138, allocations: 47.57 MB / 328.4 MB, free: 3.992 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.01122/0.1492, allocations: 8.341 MB / 336.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008086/0.1574, allocations: 3.178 MB / 340 MB, free: 8.426 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001982/0.1594, allocations: 35.81 kB / 340 MB, free: 8.391 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003007/0.1624, allocations: 0.614 MB / 340.6 MB, free: 7.773 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003705/0.1662, allocations: 0.6877 MB / 341.3 MB, free: 7.082 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001626/0.1678, allocations: 315.4 kB / 341.6 MB, free: 6.773 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004644/0.1725, allocations: 2.463 MB / 344.1 MB, free: 4.297 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002896/0.1754, allocations: 1.224 MB / 345.3 MB, free: 3.039 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002459/0.1779, allocations: 0.8482 MB / 346.1 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002865/0.1808, allocations: 1.152 MB / 347.3 MB, free: 1.031 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008746/0.1817, allocations: 127.9 kB / 347.4 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001639/0.1833, allocations: 219.9 kB / 347.6 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001269/0.1846, allocations: 0.6191 MB / 348.3 MB, free: 72 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001511/0.1862, allocations: 464.5 kB / 348.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004276/0.1904, allocations: 2.98 MB / 351.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/0.1905, allocations: 8 kB / 351.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1905, allocations: 0 / 351.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001942/0.1907, allocations: 4 kB / 351.7 MB, free: 12.61 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.007353/0.1981, allocations: 2.281 MB / 354 MB, free: 10.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.566e-05/0.1982, allocations: 8.031 kB / 354 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001476/0.1997, allocations: 274.4 kB / 354.3 MB, free: 9.984 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.2007, allocations: 276.9 kB / 354.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002513/0.2033, allocations: 1.245 MB / 355.8 MB, free: 8.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/0.2034, allocations: 143.7 kB / 355.9 MB, free: 8.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002929/0.2037, allocations: 199.9 kB / 356.1 MB, free: 8.074 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00458/0.2083, allocations: 2.424 MB / 358.5 MB, free: 5.617 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.452e-05/0.2084, allocations: 0 / 358.5 MB, free: 5.617 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001836/0.2086, allocations: 80 kB / 358.6 MB, free: 5.539 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001261/0.2087, allocations: 95.67 kB / 358.7 MB, free: 5.445 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003597/0.2123, allocations: 1.974 MB / 360.7 MB, free: 3.469 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01291/0.2253, allocations: 7.429 MB / 368.1 MB, free: 11.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002117/0.2274, allocations: 1.351 MB / 369.5 MB, free: 10.43 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00155/0.229, allocations: 0.8893 MB / 370.3 MB, free: 9.539 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003418/0.2294, allocations: 118.1 kB / 370.5 MB, free: 9.406 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001262/0.2306, allocations: 0.6836 MB / 371.1 MB, free: 8.688 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 2.836e-06/0.2307, allocations: 4 kB / 371.2 MB, free: 8.684 MB / 318.1 MB Notification: Performance of matching and sorting (n=121): time 0.01614/0.2468, allocations: 7.409 MB / 378.6 MB, free: 1.125 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001583/0.247, allocations: 196.9 kB / 378.8 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2445/0.4916, allocations: 1.404 MB / 380.2 MB, free: 50.75 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003576/0.492, allocations: 48.2 kB / 380.2 MB, free: 50.71 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001043/0.493, allocations: 0.9336 MB / 381.1 MB, free: 50.55 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007032/0.4938, allocations: 416.3 kB / 381.5 MB, free: 50.31 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.4939, allocations: 27.38 kB / 381.6 MB, free: 50.31 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.4941, allocations: 362.7 kB / 381.9 MB, free: 50.01 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001696/0.4958, allocations: 0.6304 MB / 382.6 MB, free: 50 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001501/0.4973, allocations: 0.9986 MB / 383.6 MB, free: 49.43 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.4986, allocations: 0.7854 MB / 384.3 MB, free: 49.12 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/0.4986, allocations: 2.906 kB / 384.3 MB, free: 49.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.005004/0.5036, allocations: 2.337 MB / 386.7 MB, free: 48.14 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.035e-05/0.5037, allocations: 9.078 kB / 386.7 MB, free: 48.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.743e-05/0.5037, allocations: 10.03 kB / 386.7 MB, free: 48.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001274/0.505, allocations: 0.4884 MB / 387.2 MB, free: 47.99 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.5062, allocations: 294.3 kB / 387.5 MB, free: 47.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006603/0.5128, allocations: 6.586 MB / 394.1 MB, free: 42.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/0.5144, allocations: 94.03 kB / 394.2 MB, free: 42.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/0.5145, allocations: 56.56 kB / 394.2 MB, free: 42.85 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (148): * Single equations (assignments): 143 * 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%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001312/0.5159, allocations: 0.6319 MB / 394.8 MB, free: 42.49 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003756/0.5162, allocations: 154.1 kB / 395 MB, free: 42.41 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003757/0.52, allocations: 2.144 MB / 397.1 MB, free: 41.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/0.52, allocations: 11.66 kB / 397.1 MB, free: 41.48 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-05/0.5201, allocations: 5.625 kB / 397.1 MB, free: 41.48 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/0.5201, allocations: 7.547 kB / 397.2 MB, free: 41.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007647/0.5277, allocations: 4.544 MB / 401.7 MB, free: 39.4 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.5278, allocations: 7.891 kB / 401.7 MB, free: 39.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007221/0.5285, allocations: 191 kB / 401.9 MB, free: 39.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001185/0.5297, allocations: 0.5373 MB / 402.4 MB, free: 39.05 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.998e-05/0.5298, allocations: 36.39 kB / 402.5 MB, free: 39.03 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006201/0.536, allocations: 8.013 MB / 410.5 MB, free: 31.84 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.5361, allocations: 7.938 kB / 410.5 MB, free: 31.83 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004301/0.5404, allocations: 3.078 MB / 413.6 MB, free: 28.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009089/0.5413, allocations: 386.9 kB / 413.9 MB, free: 28.26 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002287/0.5415, allocations: 32 kB / 414 MB, free: 28.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000721/0.5423, allocations: 75.92 kB / 414.1 MB, free: 28.15 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00026/0.5425, allocations: 100.8 kB / 414.1 MB, free: 28.05 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.787e-05/0.5426, allocations: 32 kB / 414.2 MB, free: 28.02 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001415/0.5441, allocations: 0.9675 MB / 415.1 MB, free: 27.05 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5441, allocations: 0 / 415.1 MB, free: 27.05 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002343/0.5464, allocations: 454.6 kB / 415.6 MB, free: 26.61 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (105): * Single equations (assignments): 98 * 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%) 6,(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.005659/0.5521, allocations: 3.993 MB / 419.6 MB, free: 22.55 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003459/0.5556, allocations: 2.243 MB / 421.8 MB, free: 20.23 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/0.5556, allocations: 0 / 421.8 MB, free: 20.23 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002109/0.5577, allocations: 1.519 MB / 423.3 MB, free: 18.64 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002645/0.5604, allocations: 408.4 kB / 423.7 MB, free: 18.24 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02927/0.5897, allocations: 12.8 MB / 436.5 MB, free: 4.918 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00228/0.5921, allocations: 1.7 MB / 438.2 MB, free: 3.18 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001561/0.5937, allocations: 321 kB / 438.6 MB, free: 2.859 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001356/0.595, allocations: 0.7453 MB / 439.3 MB, free: 2.113 MB / 318.1 MB Notification: Performance of SimCode: time 2.395e-06/0.5951, allocations: 0 / 439.3 MB, free: 2.113 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08661/0.6817, allocations: 38.46 MB / 477.8 MB, free: 11.59 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002581/0.682, allocations: 280.5 kB / 478 MB, free: 11.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.021/3.703, allocations: 3.938 kB / 478 MB, free: 11.23 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