Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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_withLosses,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses",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.001281/0.001281, allocations: 173 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.496/1.496, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0007761/0.0007762, allocations: 82.7 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.088e-05/3.1e-05, allocations: 4 kB / 322.6 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08179/0.08185, allocations: 47.57 MB / 370.1 MB, free: 1.617 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3223/0.4042, allocations: 109 MB / 479.1 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/0.4046, allocations: 89.69 kB / 479.2 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.141/0.5456, allocations: 52.04 MB / 0.5188 GB, free: 13.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5456, allocations: 0 / 0.5188 GB, free: 13.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001634/0.5458, allocations: 67.86 kB / 0.5189 GB, free: 13.21 MB / 410.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.004821/0.5506, allocations: 2.42 MB / 0.5212 GB, free: 10.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.5507, allocations: 12.03 kB / 0.5213 GB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005574/0.5513, allocations: 351.1 kB / 0.5216 GB, free: 10.35 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008216/0.5521, allocations: 332.3 kB / 0.5219 GB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003423/0.5555, allocations: 1.779 MB / 0.5236 GB, free: 8.191 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/0.5557, allocations: 156.1 kB / 0.5238 GB, free: 8.035 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003157/0.556, allocations: 211.9 kB / 0.524 GB, free: 7.828 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004231/0.5602, allocations: 2.625 MB / 0.5266 GB, free: 5.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.859e-05/0.5603, allocations: 7.906 kB / 0.5266 GB, free: 5.062 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001959/0.5605, allocations: 92 kB / 0.5267 GB, free: 4.973 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.73e-05/0.5606, allocations: 84.05 kB / 0.5267 GB, free: 4.887 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003533/0.5641, allocations: 2.074 MB / 0.5288 GB, free: 2.797 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2238/0.788, allocations: 8.385 MB / 0.5369 GB, free: 98.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002751/0.7908, allocations: 1.595 MB / 0.5385 GB, free: 97.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001515/0.7923, allocations: 0.968 MB / 0.5395 GB, free: 97.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002984/0.7926, allocations: 140.4 kB / 0.5396 GB, free: 97.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.7926, allocations: 47.97 kB / 0.5396 GB, free: 97.78 MB / 410.7 MB Notification: Performance of pre-optimization done (n=119): time 3.356e-06/0.7927, allocations: 4.469 kB / 0.5396 GB, free: 97.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=135): time 0.01008/0.8027, allocations: 5.027 MB / 0.5445 GB, free: 96.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.8028, allocations: 68.94 kB / 0.5446 GB, free: 96.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003264/0.8061, allocations: 1.859 MB / 0.5464 GB, free: 96.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001849/0.8063, allocations: 48.92 kB / 0.5465 GB, free: 96.67 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007503/0.8071, allocations: 1.115 MB / 0.5476 GB, free: 96.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003795/0.8074, allocations: 468.6 kB / 0.548 GB, free: 96.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.893e-05/0.8075, allocations: 28.91 kB / 0.548 GB, free: 96.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.598e-05/0.8076, allocations: 368.2 kB / 0.5484 GB, free: 95.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/0.8087, allocations: 0.7081 MB / 0.5491 GB, free: 95.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/0.8098, allocations: 0.9563 MB / 0.55 GB, free: 95.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.811, allocations: 0.8486 MB / 0.5508 GB, free: 95.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.811, allocations: 0 / 0.5508 GB, free: 95.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004328/0.8154, allocations: 2.712 MB / 0.5535 GB, free: 95.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.8154, allocations: 7.781 kB / 0.5535 GB, free: 95.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.346e-05/0.8154, allocations: 7.781 kB / 0.5535 GB, free: 95.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001918/0.8174, allocations: 0.8373 MB / 0.5543 GB, free: 95.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/0.8184, allocations: 268.6 kB / 0.5546 GB, free: 95.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009868/0.8283, allocations: 9.292 MB / 0.5637 GB, free: 90.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/0.8301, allocations: 95.67 kB / 0.5637 GB, free: 90.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001487/0.8302, allocations: 55.98 kB / 0.5638 GB, free: 90.22 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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%) 6,(6,88.9%) 39} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002812/0.8305, allocations: 179.3 kB / 0.564 GB, free: 90.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003533/0.8309, allocations: 199.3 kB / 0.5642 GB, free: 89.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003786/0.8347, allocations: 2.467 MB / 0.5666 GB, free: 89.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.8347, allocations: 21.48 kB / 0.5666 GB, free: 89.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.8347, allocations: 10.56 kB / 0.5666 GB, free: 89.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.8347, allocations: 7.734 kB / 0.5666 GB, free: 89.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007826/0.8426, allocations: 5.007 MB / 0.5715 GB, free: 87.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.741e-05/0.8426, allocations: 3.562 kB / 0.5715 GB, free: 87.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009187/0.8436, allocations: 217.9 kB / 0.5717 GB, free: 87.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001724/0.8453, allocations: 0.7121 MB / 0.5724 GB, free: 86.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/0.8454, allocations: 47.86 kB / 0.5724 GB, free: 86.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007532/0.853, allocations: 8.448 MB / 0.5807 GB, free: 81.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.25e-05/0.8531, allocations: 6.766 kB / 0.5807 GB, free: 81.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005056/0.8581, allocations: 3.592 MB / 0.5842 GB, free: 79.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009448/0.8591, allocations: 472.8 kB / 0.5847 GB, free: 79.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002271/0.8593, allocations: 31.42 kB / 0.5847 GB, free: 79.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009334/0.8603, allocations: 95.39 kB / 0.5848 GB, free: 79.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002788/0.8606, allocations: 111.2 kB / 0.5849 GB, free: 79.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.284e-05/0.8607, allocations: 45.61 kB / 0.5849 GB, free: 79.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001843/0.8625, allocations: 1.448 MB / 0.5863 GB, free: 78.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.8625, allocations: 3.609 kB / 0.5864 GB, free: 78.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002189/0.8647, allocations: 0.6002 MB / 0.5869 GB, free: 78.42 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (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,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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%) 6,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006038/0.8708, allocations: 5.112 MB / 0.5919 GB, free: 75.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003501/0.8743, allocations: 2.382 MB / 0.5943 GB, free: 74.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.8743, allocations: 0 / 0.5943 GB, free: 74.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00213/0.8765, allocations: 1.679 MB / 0.5959 GB, free: 73.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002244/0.8787, allocations: 406.6 kB / 0.5963 GB, free: 73.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008483/0.8872, allocations: 4.99 MB / 0.6012 GB, free: 70.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001412/0.8887, allocations: 2.019 MB / 0.6031 GB, free: 68.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00136/0.8901, allocations: 405.5 kB / 0.6035 GB, free: 68.26 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009809/0.8911, allocations: 0.956 MB / 0.6044 GB, free: 67.39 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.8911, allocations: 3.75 kB / 0.6045 GB, free: 67.39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07634/0.9674, allocations: 51.92 MB / 0.6552 GB, free: 22.1 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/0.9677, allocations: 251.6 kB / 0.6554 GB, free: 21.76 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.354/4.321, allocations: 0 / 0.6554 GB, free: 21.76 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1)