Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.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_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL",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.001084/0.001085, allocations: 96.73 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.001021/0.001022, allocations: 176.8 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.655/1.655, allocations: 205.4 MB / 224 MB, free: 13.12 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.0004753/0.0004753, allocations: 16 kB / 280.9 MB, free: 3.625 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1138, allocations: 47.56 MB / 328.4 MB, free: 3.992 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.009122/0.123, allocations: 7.571 MB / 336 MB, free: 12.39 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006222/0.1292, allocations: 2.929 MB / 338.9 MB, free: 9.449 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00124/0.1305, allocations: 39.81 kB / 339 MB, free: 9.41 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001612/0.1321, allocations: 0.5209 MB / 339.5 MB, free: 8.887 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002491/0.1347, allocations: 0.6503 MB / 340.1 MB, free: 8.234 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008303/0.1355, allocations: 223.7 kB / 340.4 MB, free: 8.016 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003472/0.139, allocations: 1.731 MB / 342.1 MB, free: 6.277 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001894/0.1409, allocations: 1.327 MB / 343.4 MB, free: 4.918 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001626/0.1425, allocations: 0.8251 MB / 344.2 MB, free: 4.09 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001889/0.1444, allocations: 1.066 MB / 345.3 MB, free: 3.02 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003677/0.1448, allocations: 132 kB / 345.4 MB, free: 2.891 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006416/0.1455, allocations: 195.9 kB / 345.6 MB, free: 2.699 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006721/0.1462, allocations: 0.6465 MB / 346.3 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005768/0.1467, allocations: 0.4887 MB / 346.8 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003236/0.15, allocations: 3.226 MB / 350 MB, free: 14.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.15, allocations: 0 / 350 MB, free: 14.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.15, allocations: 0 / 350 MB, free: 14.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001092/0.1501, allocations: 0 / 350 MB, free: 14.32 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.005405/0.1555, allocations: 2.432 MB / 352.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.1556, allocations: 8.031 kB / 352.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006436/0.1563, allocations: 299.3 kB / 352.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007954/0.1571, allocations: 296.7 kB / 353 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002824/0.1599, allocations: 1.391 MB / 354.4 MB, free: 9.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/0.1601, allocations: 152 kB / 354.5 MB, free: 9.617 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003377/0.1604, allocations: 203.9 kB / 354.7 MB, free: 9.418 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005227/0.1656, allocations: 2.708 MB / 357.4 MB, free: 6.621 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.761e-05/0.1657, allocations: 11.91 kB / 357.5 MB, free: 6.609 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001881/0.1659, allocations: 76 kB / 357.5 MB, free: 6.535 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001068/0.166, allocations: 99.88 kB / 357.6 MB, free: 6.438 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004098/0.1702, allocations: 2.326 MB / 360 MB, free: 4.109 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0144/0.1846, allocations: 8.419 MB / 368.4 MB, free: 11.45 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002126/0.1867, allocations: 1.779 MB / 370.2 MB, free: 9.559 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002438/0.187, allocations: 126.1 kB / 370.3 MB, free: 9.418 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.1871, allocations: 43.56 kB / 370.3 MB, free: 9.367 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 3.126e-06/0.1871, allocations: 0 / 370.3 MB, free: 9.367 MB / 318.1 MB Notification: Performance of matching and sorting (n=120): time 0.01325/0.2003, allocations: 6.201 MB / 376.5 MB, free: 3.066 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.2004, allocations: 68.41 kB / 376.6 MB, free: 2.988 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002339/0.2028, allocations: 1.458 MB / 378 MB, free: 1.52 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00011/0.2029, allocations: 49.64 kB / 378.1 MB, free: 1.465 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000824/0.2037, allocations: 0.995 MB / 379.1 MB, free: 468 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003635/0.2041, allocations: 410 kB / 379.5 MB, free: 52 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.864e-05/0.2042, allocations: 32 kB / 379.5 MB, free: 20 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.2098/0.414, allocations: 357.3 kB / 379.9 MB, free: 50.02 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001814/0.4159, allocations: 0.7431 MB / 380.6 MB, free: 50.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001693/0.4176, allocations: 1.057 MB / 381.7 MB, free: 49.67 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002034/0.4196, allocations: 0.8942 MB / 382.6 MB, free: 49.66 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/0.4197, allocations: 2.75 kB / 382.6 MB, free: 49.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004912/0.4246, allocations: 2.367 MB / 384.9 MB, free: 49.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.707e-05/0.4246, allocations: 12.92 kB / 384.9 MB, free: 49.01 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.251e-05/0.4247, allocations: 10.2 kB / 385 MB, free: 49.01 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/0.4258, allocations: 411 kB / 385.4 MB, free: 48.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/0.4271, allocations: 329.5 kB / 385.7 MB, free: 48.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005329/0.4325, allocations: 4.748 MB / 390.4 MB, free: 45.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/0.434, allocations: 90.91 kB / 390.5 MB, free: 45.37 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/0.4341, allocations: 54.64 kB / 390.6 MB, free: 45.36 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: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * 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 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001676/0.4358, allocations: 0.7096 MB / 391.3 MB, free: 44.97 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005826/0.4364, allocations: 161.7 kB / 391.4 MB, free: 44.97 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004083/0.4405, allocations: 2.166 MB / 393.6 MB, free: 44.13 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.4405, allocations: 11.81 kB / 393.6 MB, free: 44.13 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.4405, allocations: 3.938 kB / 393.6 MB, free: 44.13 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.4406, allocations: 11.75 kB / 393.6 MB, free: 44.12 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007821/0.4484, allocations: 4.567 MB / 398.2 MB, free: 42.28 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.4484, allocations: 3.938 kB / 398.2 MB, free: 42.28 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008562/0.4493, allocations: 218.7 kB / 398.4 MB, free: 42.26 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001078/0.4504, allocations: 469.7 kB / 398.9 MB, free: 42.02 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.961e-05/0.4505, allocations: 31.45 kB / 398.9 MB, free: 42 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005013/0.4555, allocations: 6.278 MB / 405.2 MB, free: 36.67 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.4555, allocations: 3.188 kB / 405.2 MB, free: 36.67 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004269/0.4598, allocations: 3.353 MB / 408.5 MB, free: 33.46 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009035/0.4607, allocations: 395 kB / 408.9 MB, free: 33.05 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001978/0.4609, allocations: 27.98 kB / 409 MB, free: 33.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007418/0.4617, allocations: 83.92 kB / 409 MB, free: 32.94 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002435/0.4619, allocations: 108.7 kB / 409.1 MB, free: 32.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.932e-05/0.462, allocations: 36.27 kB / 409.2 MB, free: 32.8 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001383/0.4634, allocations: 0.997 MB / 410.2 MB, free: 31.8 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4634, allocations: 4 kB / 410.2 MB, free: 31.8 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001697/0.4651, allocations: 463.2 kB / 410.6 MB, free: 31.35 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.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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.004481/0.4696, allocations: 4.549 MB / 415.2 MB, free: 26.71 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00361/0.4732, allocations: 2.296 MB / 417.5 MB, free: 24.35 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/0.4733, allocations: 0 / 417.5 MB, free: 24.35 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001906/0.4752, allocations: 1.508 MB / 419 MB, free: 22.78 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00205/0.4772, allocations: 408.1 kB / 419.4 MB, free: 22.39 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02481/0.5021, allocations: 19.7 MB / 439.1 MB, free: 2.039 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00129/0.5034, allocations: 1.857 MB / 440.9 MB, free: 156 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.00144/0.5049, allocations: 397.4 kB / 441.3 MB, free: 15.76 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001112/0.506, allocations: 0.7929 MB / 442.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of SimCode: time 1.874e-06/0.506, allocations: 0 / 442.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07902/0.585, allocations: 39.6 MB / 481.7 MB, free: 7.297 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002489/0.5854, allocations: 241.3 kB / 481.9 MB, free: 7.047 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.848/3.434, allocations: 0 / 481.9 MB, free: 7.047 MB / 366.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.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_DOL_res.mat does not exist to compare? outputFormat=mat