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.001049/0.001049, allocations: 177.2 kB / 8.699 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.3 MB / 214.4 MB, free: 1.746 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009168/0.0009169, allocations: 90.36 kB / 262.5 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.701e-05/1.721e-05, allocations: 4 kB / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07487/0.0749, allocations: 47.58 MB / 363.2 MB, free: 6.98 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3427/0.4176, allocations: 108.6 MB / 471.8 MB, free: 3.16 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/0.418, allocations: 91.81 kB / 471.9 MB, free: 3.113 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.14/0.558, allocations: 51.4 MB / 0.511 GB, free: 5.129 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.787e-06/0.5581, allocations: 4 kB / 0.511 GB, free: 5.125 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001983/0.5583, allocations: 63.88 kB / 0.5111 GB, free: 5.062 MB / 394.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.005977/0.5643, allocations: 2.424 MB / 0.5134 GB, free: 2.574 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.5643, allocations: 8.031 kB / 0.5134 GB, free: 2.566 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/0.5657, allocations: 332.3 kB / 0.5138 GB, free: 2.238 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004715/0.5704, allocations: 1.767 MB / 0.5155 GB, free: 428 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.299e-05/0.5706, allocations: 72 kB / 0.5156 GB, free: 356 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003907/0.5709, allocations: 123.9 kB / 0.5157 GB, free: 232 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003936/0.5749, allocations: 1.952 MB / 0.5176 GB, free: 14.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004032/0.579, allocations: 2.307 MB / 0.5198 GB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.669e-05/0.579, allocations: 4 kB / 0.5198 GB, free: 11.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001593/0.5792, allocations: 0 / 0.5198 GB, free: 11.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001151/0.5793, allocations: 91.94 kB / 0.5199 GB, free: 11.74 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01448/0.5938, allocations: 7.934 MB / 0.5277 GB, free: 3.621 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002556/0.5964, allocations: 1.539 MB / 0.5292 GB, free: 2.023 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001288/0.5977, allocations: 0.8644 MB / 0.53 GB, free: 1.156 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003837/0.5981, allocations: 146.3 kB / 0.5302 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/0.5982, allocations: 43.88 kB / 0.5302 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of pre-optimization done (n=119): time 3.637e-06/0.5982, allocations: 0 / 0.5302 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of matching and sorting (n=135): time 0.2531/0.8513, allocations: 4.797 MB / 0.5349 GB, free: 102.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.8514, allocations: 66.17 kB / 0.5349 GB, free: 102.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002923/0.8544, allocations: 1.651 MB / 0.5366 GB, free: 102.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002084/0.8546, allocations: 25.7 kB / 0.5366 GB, free: 102.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008249/0.8554, allocations: 1.106 MB / 0.5377 GB, free: 101.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004032/0.8558, allocations: 449.8 kB / 0.5381 GB, free: 101.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.266e-05/0.8559, allocations: 0 / 0.5381 GB, free: 101.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.856, allocations: 362.3 kB / 0.5384 GB, free: 101.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/0.857, allocations: 0.6867 MB / 0.5391 GB, free: 101.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/0.8582, allocations: 0.9224 MB / 0.54 GB, free: 101.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/0.8595, allocations: 0.826 MB / 0.5408 GB, free: 101 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.8596, allocations: 1.5 kB / 0.5408 GB, free: 101 MB / 410.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.005239/0.8648, allocations: 2.571 MB / 0.5433 GB, free: 100.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/0.8649, allocations: 8.016 kB / 0.5433 GB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.731e-05/0.8649, allocations: 11.3 kB / 0.5433 GB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002369/0.8673, allocations: 0.8251 MB / 0.5441 GB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.8685, allocations: 274.2 kB / 0.5444 GB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01127/0.8798, allocations: 8.889 MB / 0.5531 GB, free: 98.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001583/0.8814, allocations: 78.17 kB / 0.5532 GB, free: 98.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001907/0.8816, allocations: 59.23 kB / 0.5532 GB, free: 98.15 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.0002845/0.8819, allocations: 118.9 kB / 0.5533 GB, free: 98.04 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003605/0.8855, allocations: 2.185 MB / 0.5555 GB, free: 97.83 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005131/0.8861, allocations: 185.9 kB / 0.5556 GB, free: 97.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003735/0.8898, allocations: 2.351 MB / 0.5579 GB, free: 97.37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/0.8899, allocations: 15.53 kB / 0.558 GB, free: 97.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/0.8899, allocations: 5.844 kB / 0.558 GB, free: 97.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.472e-05/0.8899, allocations: 9.797 kB / 0.558 GB, free: 97.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007379/0.8973, allocations: 4.596 MB / 0.5625 GB, free: 95.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/0.8973, allocations: 6.625 kB / 0.5625 GB, free: 95.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009488/0.8983, allocations: 212.9 kB / 0.5627 GB, free: 95.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001703/0.9, allocations: 0.6986 MB / 0.5634 GB, free: 95.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/0.9001, allocations: 19.08 kB / 0.5634 GB, free: 95.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007355/0.9075, allocations: 8.146 MB / 0.5713 GB, free: 89.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/0.9076, allocations: 3.953 kB / 0.5713 GB, free: 89.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004555/0.9121, allocations: 3.441 MB / 0.5747 GB, free: 88.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009075/0.913, allocations: 455.9 kB / 0.5751 GB, free: 88.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002417/0.9133, allocations: 12.8 kB / 0.5751 GB, free: 88.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009329/0.9142, allocations: 70.05 kB / 0.5752 GB, free: 88.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002842/0.9145, allocations: 112.3 kB / 0.5753 GB, free: 88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.023e-05/0.9146, allocations: 41.45 kB / 0.5754 GB, free: 87.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001551/0.9162, allocations: 1.257 MB / 0.5766 GB, free: 87.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9162, allocations: 0 / 0.5766 GB, free: 87.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001946/0.9182, allocations: 0.5172 MB / 0.5771 GB, free: 87.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (94): * Single equations (assignments): 88 * 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.00558/0.9237, allocations: 4.768 MB / 0.5817 GB, free: 85.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003253/0.927, allocations: 2.29 MB / 0.584 GB, free: 84.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.9271, allocations: 0 / 0.584 GB, free: 84.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002035/0.9291, allocations: 1.608 MB / 0.5855 GB, free: 83.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002205/0.9313, allocations: 334.8 kB / 0.5859 GB, free: 83.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008189/0.9395, allocations: 4.807 MB / 0.5906 GB, free: 81.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001414/0.941, allocations: 2.002 MB / 0.5925 GB, free: 80.38 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001172/0.9422, allocations: 379.8 kB / 0.5929 GB, free: 80.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009806/0.9432, allocations: 0.9489 MB / 0.5938 GB, free: 79.58 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/0.9432, allocations: 0 / 0.5938 GB, free: 79.58 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07839/1.022, allocations: 44.27 MB / 0.637 GB, free: 44.33 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002861/1.022, allocations: 211.7 kB / 0.6372 GB, free: 44.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.384/4.406, allocations: 0 / 0.6372 GB, free: 44.04 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)