Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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_Initialize,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize",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.0009394/0.0009395, allocations: 93.7 kB / 16.93 MB, free: 5.984 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.001001/0.001001, allocations: 179.4 kB / 17.82 MB, free: 5.652 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.404/1.404, 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.0004732/0.0004732, allocations: 12 kB / 280.9 MB, free: 3.648 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09439/0.09488, allocations: 47.58 MB / 328.4 MB, free: 4 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.007338/0.1023, allocations: 7.174 MB / 335.6 MB, free: 12.8 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003959/0.1062, allocations: 2.797 MB / 338.4 MB, free: 9.988 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004524/0.1067, allocations: 35.81 kB / 338.4 MB, free: 9.953 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009572/0.1077, allocations: 0.5053 MB / 338.9 MB, free: 9.445 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001167/0.1089, allocations: 0.6153 MB / 339.6 MB, free: 8.828 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003916/0.1093, allocations: 199.8 kB / 339.8 MB, free: 8.633 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001634/0.1109, allocations: 1.548 MB / 341.3 MB, free: 7.078 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001251/0.1122, allocations: 1.192 MB / 342.5 MB, free: 5.852 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000713/0.1129, allocations: 0.7356 MB / 343.2 MB, free: 5.113 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.1139, allocations: 0.9612 MB / 344.2 MB, free: 4.148 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001812/0.1141, allocations: 120 kB / 344.3 MB, free: 4.031 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003826/0.1145, allocations: 187.9 kB / 344.5 MB, free: 3.848 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000533/0.1151, allocations: 0.5842 MB / 345.1 MB, free: 3.262 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003483/0.1154, allocations: 452.6 kB / 345.5 MB, free: 2.812 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002264/0.1177, allocations: 2.914 MB / 348.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1177, allocations: 0 / 348.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.447e-06/0.1177, allocations: 3.938 kB / 348.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.336e-05/0.1178, allocations: 3.938 kB / 348.4 MB, free: 15.88 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.003848/0.1216, allocations: 2.193 MB / 350.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.1217, allocations: 12.03 kB / 350.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003203/0.122, allocations: 269.8 kB / 350.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005994/0.1226, allocations: 269.1 kB / 351.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002004/0.1246, allocations: 1.256 MB / 352.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.1247, allocations: 143.5 kB / 352.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002607/0.125, allocations: 187.9 kB / 352.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003844/0.1289, allocations: 2.378 MB / 355.1 MB, free: 9.031 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.747e-05/0.1289, allocations: 11.84 kB / 355.1 MB, free: 9.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001606/0.1291, allocations: 76 kB / 355.2 MB, free: 8.945 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.806e-05/0.1292, allocations: 87.48 kB / 355.3 MB, free: 8.859 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003321/0.1325, allocations: 2.02 MB / 357.3 MB, free: 6.836 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01127/0.1438, allocations: 7.46 MB / 364.8 MB, free: 15.17 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001789/0.1456, allocations: 1.264 MB / 366 MB, free: 13.84 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002167/0.1458, allocations: 126 kB / 366.2 MB, free: 13.7 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.1459, allocations: 43.5 kB / 366.2 MB, free: 13.65 MB / 318.1 MB Notification: Performance of pre-optimization done (n=84): time 2.434e-06/0.1459, allocations: 4 kB / 366.2 MB, free: 13.65 MB / 318.1 MB Notification: Performance of matching and sorting (n=100): time 0.009182/0.1551, allocations: 5.063 MB / 371.3 MB, free: 8.469 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.1552, allocations: 60.41 kB / 371.3 MB, free: 8.398 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001708/0.1569, allocations: 1.326 MB / 372.7 MB, free: 7.066 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.768e-05/0.157, allocations: 41.7 kB / 372.7 MB, free: 7.02 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006768/0.1577, allocations: 0.9047 MB / 373.6 MB, free: 6.102 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002559/0.1579, allocations: 350.9 kB / 373.9 MB, free: 5.754 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-05/0.158, allocations: 20 kB / 374 MB, free: 5.734 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1582, allocations: 353.9 kB / 374.3 MB, free: 5.383 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009539/0.1591, allocations: 0.6389 MB / 374.9 MB, free: 4.746 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/0.1602, allocations: 0.9298 MB / 375.9 MB, free: 3.691 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.1613, allocations: 0.772 MB / 376.7 MB, free: 2.922 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.1613, allocations: 0 / 376.7 MB, free: 2.922 MB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003922/0.1653, allocations: 2.418 MB / 379.1 MB, free: 496 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.1653, allocations: 12 kB / 379.1 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.102e-05/0.1653, allocations: 12.25 kB / 379.1 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1626/0.3279, allocations: 0.7471 MB / 379.8 MB, free: 49.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009326/0.3289, allocations: 229.8 kB / 380.1 MB, free: 49.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01041/0.3393, allocations: 8.549 MB / 388.6 MB, free: 45.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.3404, allocations: 84.84 kB / 388.7 MB, free: 45.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.276e-05/0.3405, allocations: 47.89 kB / 388.7 MB, free: 45.96 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001158/0.3417, allocations: 0.6315 MB / 389.4 MB, free: 45.61 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002581/0.342, allocations: 144.3 kB / 389.5 MB, free: 45.61 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003206/0.3452, allocations: 1.913 MB / 391.4 MB, free: 44.87 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.3452, allocations: 13.77 kB / 391.4 MB, free: 44.87 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.3452, allocations: 2.875 kB / 391.4 MB, free: 44.87 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.3452, allocations: 9.938 kB / 391.5 MB, free: 44.87 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006207/0.3514, allocations: 3.988 MB / 395.4 MB, free: 43.24 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.515e-06/0.3515, allocations: 2.75 kB / 395.4 MB, free: 43.24 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007493/0.3522, allocations: 188 kB / 395.6 MB, free: 43.22 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001214/0.3535, allocations: 466.7 kB / 396.1 MB, free: 43.09 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.83e-05/0.3536, allocations: 26.09 kB / 396.1 MB, free: 43.08 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004809/0.3584, allocations: 6.261 MB / 402.4 MB, free: 38.03 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.3584, allocations: 3.906 kB / 402.4 MB, free: 38.03 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00364/0.3621, allocations: 2.906 MB / 405.3 MB, free: 36.39 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007243/0.3628, allocations: 353.9 kB / 405.6 MB, free: 36.12 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001724/0.363, allocations: 37.72 kB / 405.7 MB, free: 36.1 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006772/0.3637, allocations: 74.03 kB / 405.7 MB, free: 36.07 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000215/0.3639, allocations: 83.23 kB / 405.8 MB, free: 36.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.83e-05/0.364, allocations: 29.66 kB / 405.8 MB, free: 36.01 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001146/0.3651, allocations: 0.9125 MB / 406.8 MB, free: 35.22 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3651, allocations: 0 / 406.8 MB, free: 35.22 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001396/0.3665, allocations: 432 kB / 407.2 MB, free: 34.8 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (84): * Single equations (assignments): 80 * 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 {(2,100.0%) 12,(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.003695/0.3702, allocations: 3.971 MB / 411.1 MB, free: 30.75 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002898/0.3731, allocations: 2.041 MB / 413.2 MB, free: 28.68 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.3732, allocations: 4 kB / 413.2 MB, free: 28.68 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001655/0.3748, allocations: 1.357 MB / 414.6 MB, free: 27.27 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001627/0.3765, allocations: 356.8 kB / 414.9 MB, free: 26.93 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01799/0.3945, allocations: 18.13 MB / 433 MB, free: 8.293 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/0.3955, allocations: 1.728 MB / 434.8 MB, free: 6.531 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008971/0.3964, allocations: 312.2 kB / 435.1 MB, free: 6.223 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006649/0.3971, allocations: 0.7023 MB / 435.8 MB, free: 5.523 MB / 318.1 MB Notification: Performance of SimCode: time 1.562e-06/0.3971, allocations: 0 / 435.8 MB, free: 5.523 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06891/0.466, allocations: 36.51 MB / 472.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002689/0.4663, allocations: 253 kB / 472.5 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.823/3.289, allocations: 0 / 472.5 MB, free: 0.7031 MB / 350.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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_Initialize_res.mat does not exist to compare? outputFormat=mat