Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.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_Inverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter",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.001011/0.001011, allocations: 96.27 kB / 16.93 MB, free: 6.445 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.00137/0.001371, allocations: 184 kB / 17.83 MB, free: 6.012 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.65/1.65, allocations: 205.4 MB / 224 MB, free: 13.18 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.0004789/0.000479, allocations: 8 kB / 280.8 MB, free: 3.652 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1225, allocations: 47.58 MB / 328.4 MB, free: 4.008 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.009594/0.1321, allocations: 7.119 MB / 335.5 MB, free: 12.86 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007122/0.1393, allocations: 2.785 MB / 338.3 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001394/0.1407, allocations: 31.88 kB / 338.4 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001649/0.1424, allocations: 0.4936 MB / 338.9 MB, free: 9.535 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002237/0.1446, allocations: 0.5958 MB / 339.4 MB, free: 8.938 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000708/0.1454, allocations: 211.7 kB / 339.7 MB, free: 8.73 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002513/0.1479, allocations: 1.462 MB / 341.1 MB, free: 7.262 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001518/0.1494, allocations: 1.196 MB / 342.3 MB, free: 6.031 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001259/0.1507, allocations: 0.7084 MB / 343 MB, free: 5.32 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001201/0.1519, allocations: 0.9145 MB / 343.9 MB, free: 4.402 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000188/0.1521, allocations: 116 kB / 344 MB, free: 4.289 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004607/0.1526, allocations: 179.9 kB / 344.2 MB, free: 4.113 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000589/0.1532, allocations: 0.5492 MB / 344.8 MB, free: 3.562 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005727/0.1538, allocations: 432.6 kB / 345.2 MB, free: 3.133 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003249/0.157, allocations: 2.789 MB / 348 MB, free: 344 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.157, allocations: 0 / 348 MB, free: 344 kB / 286.1 MB Notification: Performance of FrontEnd: time 5.841e-06/0.1571, allocations: 0 / 348 MB, free: 344 kB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001317/0.1572, allocations: 4 kB / 348 MB, free: 340 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.005505/0.1627, allocations: 2.138 MB / 350.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.88e-05/0.1628, allocations: 8.031 kB / 350.1 MB, free: 14.13 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005909/0.1634, allocations: 261.8 kB / 350.4 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008541/0.1643, allocations: 245.3 kB / 350.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002572/0.1669, allocations: 1.192 MB / 351.8 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.167, allocations: 135.5 kB / 352 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002804/0.1673, allocations: 179.9 kB / 352.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004088/0.1714, allocations: 2.355 MB / 354.5 MB, free: 9.684 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.508e-05/0.1714, allocations: 4 kB / 354.5 MB, free: 9.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000178/0.1716, allocations: 79.94 kB / 354.6 MB, free: 9.602 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001047/0.1717, allocations: 91.5 kB / 354.7 MB, free: 9.512 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003438/0.1752, allocations: 1.966 MB / 356.6 MB, free: 7.543 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01263/0.1878, allocations: 7.133 MB / 363.8 MB, free: 224 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001961/0.1899, allocations: 1.277 MB / 365 MB, free: 14.88 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002555/0.1901, allocations: 118.1 kB / 365.1 MB, free: 14.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.31e-05/0.1902, allocations: 47.48 kB / 365.2 MB, free: 14.69 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 3.196e-06/0.1902, allocations: 4 kB / 365.2 MB, free: 14.69 MB / 318.1 MB Notification: Performance of matching and sorting (n=107): time 0.0164/0.2066, allocations: 6.979 MB / 372.2 MB, free: 7.555 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.2068, allocations: 64.34 kB / 372.2 MB, free: 7.48 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001905/0.2087, allocations: 1.168 MB / 373.4 MB, free: 6.301 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.51e-05/0.2088, allocations: 41.7 kB / 373.4 MB, free: 6.254 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007165/0.2095, allocations: 0.8652 MB / 374.3 MB, free: 5.375 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003835/0.2099, allocations: 378.6 kB / 374.7 MB, free: 5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-05/0.21, allocations: 24 kB / 374.7 MB, free: 4.977 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.2102, allocations: 353.9 kB / 375.1 MB, free: 4.625 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/0.2113, allocations: 0.6623 MB / 375.7 MB, free: 3.965 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/0.2125, allocations: 0.958 MB / 376.7 MB, free: 2.879 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.2137, allocations: 0.8033 MB / 377.5 MB, free: 2.078 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.186e-06/0.2137, allocations: 4 kB / 377.5 MB, free: 2.074 MB / 318.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.267/0.4807, allocations: 2.345 MB / 379.8 MB, free: 49.46 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.165e-05/0.4808, allocations: 8.25 kB / 379.8 MB, free: 49.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-05/0.4808, allocations: 13.58 kB / 379.8 MB, free: 49.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001834/0.4827, allocations: 0.6009 MB / 380.4 MB, free: 49.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.4839, allocations: 269.8 kB / 380.7 MB, free: 49.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008906/0.4928, allocations: 6.404 MB / 387.1 MB, free: 46.31 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.4942, allocations: 93.17 kB / 387.2 MB, free: 46.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/0.4943, allocations: 56.06 kB / 387.3 MB, free: 46.28 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 126 * 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%) 20,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00155/0.4959, allocations: 0.5979 MB / 387.9 MB, free: 45.95 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000496/0.4964, allocations: 133.7 kB / 388 MB, free: 45.95 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004361/0.5008, allocations: 2.172 MB / 390.2 MB, free: 45.12 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.828e-05/0.5008, allocations: 10.28 kB / 390.2 MB, free: 45.12 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.5008, allocations: 9.375 kB / 390.2 MB, free: 45.12 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.817e-05/0.5008, allocations: 5.484 kB / 390.2 MB, free: 45.12 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007672/0.5085, allocations: 4.284 MB / 394.5 MB, free: 43.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.5086, allocations: 2.156 kB / 394.5 MB, free: 43.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007288/0.5093, allocations: 176.7 kB / 394.6 MB, free: 43.37 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00161/0.5109, allocations: 0.6516 MB / 395.3 MB, free: 43.2 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-05/0.511, allocations: 25.28 kB / 395.3 MB, free: 43.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007287/0.5183, allocations: 7.921 MB / 403.2 MB, free: 37.24 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.5183, allocations: 0 / 403.2 MB, free: 37.24 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004349/0.5227, allocations: 3.221 MB / 406.5 MB, free: 35.38 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007638/0.5235, allocations: 349.8 kB / 406.8 MB, free: 35.12 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/0.5237, allocations: 35.12 kB / 406.8 MB, free: 35.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006807/0.5244, allocations: 82.62 kB / 406.9 MB, free: 35.05 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002342/0.5246, allocations: 90.67 kB / 407 MB, free: 35 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.697e-05/0.5247, allocations: 31.05 kB / 407 MB, free: 35 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001123/0.5258, allocations: 0.7954 MB / 407.8 MB, free: 34.2 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5258, allocations: 0 / 407.8 MB, free: 34.2 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001566/0.5274, allocations: 431 kB / 408.3 MB, free: 33.78 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 79 * 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: 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 {(5,84.0%) 20,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004215/0.5316, allocations: 4.412 MB / 412.7 MB, free: 29.28 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003093/0.5347, allocations: 2.236 MB / 414.9 MB, free: 26.97 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.5347, allocations: 4 kB / 414.9 MB, free: 26.97 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001947/0.5367, allocations: 1.484 MB / 416.4 MB, free: 25.42 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001736/0.5385, allocations: 353.6 kB / 416.7 MB, free: 25.09 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0192/0.5577, allocations: 17.61 MB / 434.3 MB, free: 6.953 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001164/0.5589, allocations: 1.673 MB / 436 MB, free: 5.242 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009587/0.5598, allocations: 291.8 kB / 436.3 MB, free: 4.953 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007013/0.5605, allocations: 0.6867 MB / 437 MB, free: 4.266 MB / 318.1 MB Notification: Performance of SimCode: time 1.313e-06/0.5606, allocations: 0 / 437 MB, free: 4.266 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0604/0.621, allocations: 35.6 MB / 472.6 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002421/0.6212, allocations: 239.1 kB / 472.8 MB, free: 388 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.431/3.053, allocations: 3.906 kB / 472.8 MB, free: 384 kB / 350.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.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_Inverter_res.mat does not exist to compare? outputFormat=mat