Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,fileNamePrefix="Modelica_3_2_3_cpp_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_cpp_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/Complex 3.2.3+maint.om/package.mo): time 0.001711/0.001716, allocations: 188.6 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.205/2.205, allocations: 205.4 MB / 222.5 MB, free: 13.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001157/0.001156, allocations: 98.86 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003992/0.0003992, allocations: 8 kB / 327.1 MB, free: 14.98 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.103, allocations: 47.57 MB / 374.6 MB, free: 15.33 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01392/0.1169, allocations: 7.574 MB / 382.2 MB, free: 7.727 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008179/0.1252, allocations: 2.917 MB / 385.1 MB, free: 4.797 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001606/0.1269, allocations: 35.81 kB / 385.2 MB, free: 4.762 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002607/0.1295, allocations: 0.5287 MB / 385.7 MB, free: 4.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003392/0.133, allocations: 0.6503 MB / 386.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001409/0.1344, allocations: 215.7 kB / 386.6 MB, free: 3.367 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004502/0.1389, allocations: 1.731 MB / 388.3 MB, free: 1.629 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003026/0.142, allocations: 1.339 MB / 389.6 MB, free: 264 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3064/0.4485, allocations: 0.8145 MB / 390.4 MB, free: 10.43 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003059/0.4516, allocations: 1.063 MB / 391.5 MB, free: 10.43 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008356/0.4525, allocations: 132 kB / 391.6 MB, free: 10.43 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/0.4539, allocations: 197.7 kB / 391.8 MB, free: 10.43 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001256/0.4552, allocations: 0.642 MB / 392.5 MB, free: 10.43 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001237/0.4565, allocations: 0.4899 MB / 393 MB, free: 10.39 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006281/0.4628, allocations: 3.232 MB / 396.2 MB, free: 10.2 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.4628, allocations: 0 / 396.2 MB, free: 10.2 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.836e-06/0.4628, allocations: 0 / 396.2 MB, free: 10.2 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001501/0.463, allocations: 0 / 396.2 MB, free: 10.2 MB / 282.7 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.008916/0.4719, allocations: 2.434 MB / 398.6 MB, free: 9.035 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.472, allocations: 8.906 kB / 398.6 MB, free: 9.035 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001295/0.4733, allocations: 296.5 kB / 398.9 MB, free: 8.984 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/0.4747, allocations: 288.2 kB / 399.2 MB, free: 8.852 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004536/0.4793, allocations: 1.392 MB / 400.6 MB, free: 8.41 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000279/0.4796, allocations: 153.2 kB / 400.7 MB, free: 8.402 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008792/0.4805, allocations: 210.7 kB / 401 MB, free: 8.395 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008991/0.4895, allocations: 2.707 MB / 403.7 MB, free: 7.652 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001142/0.4897, allocations: 5.969 kB / 403.7 MB, free: 7.652 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003153/0.49, allocations: 84.08 kB / 403.7 MB, free: 7.652 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001683/0.4902, allocations: 95.64 kB / 403.8 MB, free: 7.641 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008248/0.4984, allocations: 2.324 MB / 406.2 MB, free: 7.25 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02323/0.5217, allocations: 8.427 MB / 414.6 MB, free: 1.793 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003546/0.5253, allocations: 1.776 MB / 416.4 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004018/0.5258, allocations: 120 kB / 416.5 MB, free: 436 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.5259, allocations: 47.97 kB / 416.5 MB, free: 384 kB / 282.7 MB Notification: Performance of pre-optimization done (n=104): time 3.667e-06/0.5259, allocations: 0 / 416.5 MB, free: 384 kB / 282.7 MB Notification: Performance of matching and sorting (n=120): time 0.02497/0.5509, allocations: 6.196 MB / 422.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.551, allocations: 64.41 kB / 422.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003756/0.5547, allocations: 1.458 MB / 424.2 MB, free: 9.406 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003471/0.5551, allocations: 45.7 kB / 424.3 MB, free: 9.355 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001043/0.5562, allocations: 0.9458 MB / 425.2 MB, free: 8.402 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007412/0.557, allocations: 417.8 kB / 425.6 MB, free: 8 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.5571, allocations: 28 kB / 425.7 MB, free: 7.973 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002064/0.5573, allocations: 366.7 kB / 426 MB, free: 7.605 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002362/0.5597, allocations: 0.7456 MB / 426.8 MB, free: 6.859 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002759/0.5625, allocations: 1.062 MB / 427.8 MB, free: 5.672 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002821/0.5654, allocations: 0.8886 MB / 428.7 MB, free: 4.781 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.538e-05/0.5655, allocations: 4 kB / 428.7 MB, free: 4.777 MB / 298.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.007462/0.5729, allocations: 2.268 MB / 431 MB, free: 2.488 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.841e-05/0.573, allocations: 8 kB / 431 MB, free: 2.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.668e-05/0.5731, allocations: 15.94 kB / 431 MB, free: 2.465 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001748/0.5748, allocations: 407.5 kB / 431.4 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002715/0.5776, allocations: 331.5 kB / 431.7 MB, free: 1.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008633/0.5863, allocations: 4.753 MB / 436.5 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002232/0.5885, allocations: 87.91 kB / 436.6 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003234/0.5889, allocations: 60.06 kB / 436.6 MB, free: 12.57 MB / 314.7 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.002437/0.5914, allocations: 0.7042 MB / 437.3 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006783/0.5921, allocations: 162 kB / 437.5 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007001/0.5991, allocations: 2.172 MB / 439.7 MB, free: 9.504 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.57e-05/0.5992, allocations: 15.17 kB / 439.7 MB, free: 9.492 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.5992, allocations: 0 / 439.7 MB, free: 9.492 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-05/0.5992, allocations: 3.984 kB / 439.7 MB, free: 9.488 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01531/0.6145, allocations: 4.563 MB / 444.3 MB, free: 4.852 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.767e-05/0.6146, allocations: 4 kB / 444.3 MB, free: 4.848 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002135/0.6168, allocations: 231.9 kB / 444.5 MB, free: 4.621 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002363/0.6192, allocations: 464.1 kB / 444.9 MB, free: 4.156 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003292/0.6195, allocations: 31.98 kB / 445 MB, free: 4.125 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01094/0.6305, allocations: 6.281 MB / 451.3 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.804e-06/0.6305, allocations: 4 kB / 451.3 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009869/0.6404, allocations: 3.356 MB / 454.6 MB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001708/0.6422, allocations: 398.9 kB / 455 MB, free: 9.555 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006543/0.6429, allocations: 31.98 kB / 455 MB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001905/0.6448, allocations: 83.92 kB / 455.1 MB, free: 9.441 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005527/0.6454, allocations: 104.8 kB / 455.2 MB, free: 9.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001533/0.6456, allocations: 35.98 kB / 455.3 MB, free: 9.305 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00302/0.6486, allocations: 1.005 MB / 456.3 MB, free: 8.301 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.82e-07/0.6486, allocations: 0 / 456.3 MB, free: 8.301 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003042/0.6517, allocations: 460.1 kB / 456.7 MB, free: 7.852 MB / 330.7 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.01111/0.6629, allocations: 4.546 MB / 461.3 MB, free: 3.207 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.006962/0.6699, allocations: 2.291 MB / 463.5 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.769e-06/0.6699, allocations: 4.062 kB / 463.5 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004575/0.6745, allocations: 1.507 MB / 465.1 MB, free: 15.28 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003839/0.6784, allocations: 400.3 kB / 465.4 MB, free: 14.89 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0496/0.7281, allocations: 19.73 MB / 485.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003011/0.7311, allocations: 1.846 MB / 487 MB, free: 8.621 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002366/0.7336, allocations: 0.8039 MB / 487.8 MB, free: 7.816 MB / 362.7 MB Notification: Performance of SimCode: time 1.703e-06/0.7336, allocations: 0 / 487.8 MB, free: 7.816 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.243/4.977, allocations: 77.51 MB / 0.5521 GB, free: 129.9 MB / 410.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.mat does not exist to compare? outputFormat=mat