Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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_Steinmetz,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz",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.0009914/0.0009914, allocations: 172.9 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.516/1.516, 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.0008826/0.0008826, allocations: 82.72 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.924e-05/2.936e-05, allocations: 0 / 322.6 MB, free: 17.24 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08887/0.08893, allocations: 47.57 MB / 370.1 MB, free: 1.602 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3089/0.3979, allocations: 103.9 MB / 474 MB, free: 5.676 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/0.3982, allocations: 82.77 kB / 474.1 MB, free: 5.637 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1084/0.5066, allocations: 41.4 MB / 0.5034 GB, free: 13.1 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.5067, allocations: 4 kB / 0.5034 GB, free: 13.1 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001551/0.5068, allocations: 55.92 kB / 0.5035 GB, free: 13.04 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.003823/0.5106, allocations: 1.977 MB / 0.5054 GB, free: 11.02 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.5107, allocations: 12.03 kB / 0.5054 GB, free: 11 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000357/0.5111, allocations: 278.4 kB / 0.5057 GB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006932/0.5118, allocations: 269.1 kB / 0.5059 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002618/0.5144, allocations: 1.368 MB / 0.5073 GB, free: 9.031 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/0.5145, allocations: 143.8 kB / 0.5074 GB, free: 8.891 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002973/0.5148, allocations: 195.9 kB / 0.5076 GB, free: 8.699 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003968/0.5188, allocations: 2.37 MB / 0.5099 GB, free: 6.242 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.013e-05/0.5189, allocations: 4 kB / 0.5099 GB, free: 6.238 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001852/0.5191, allocations: 83.98 kB / 0.51 GB, free: 6.156 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.201e-05/0.5192, allocations: 87.69 kB / 0.5101 GB, free: 6.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003048/0.5222, allocations: 1.846 MB / 0.5119 GB, free: 4.223 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01243/0.5347, allocations: 7.839 MB / 0.5195 GB, free: 12.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/0.5366, allocations: 1.369 MB / 0.5209 GB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001437/0.5381, allocations: 0.8994 MB / 0.5217 GB, free: 9.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003208/0.5384, allocations: 142 kB / 0.5219 GB, free: 9.684 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.5385, allocations: 43.56 kB / 0.5219 GB, free: 9.629 MB / 410.7 MB Notification: Performance of pre-optimization done (n=111): time 3.927e-06/0.5385, allocations: 4 kB / 0.5219 GB, free: 9.625 MB / 410.7 MB Notification: Performance of matching and sorting (n=127): time 0.01101/0.5495, allocations: 5.11 MB / 0.5269 GB, free: 4.445 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.5496, allocations: 68.72 kB / 0.527 GB, free: 4.363 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001659/0.5512, allocations: 1.085 MB / 0.528 GB, free: 3.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.5514, allocations: 45.7 kB / 0.5281 GB, free: 3.219 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006034/0.552, allocations: 0.8777 MB / 0.5289 GB, free: 2.328 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003591/0.5523, allocations: 441.6 kB / 0.5294 GB, free: 1.891 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.124e-05/0.5524, allocations: 28 kB / 0.5294 GB, free: 1.863 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.5526, allocations: 361.9 kB / 0.5297 GB, free: 1.504 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009497/0.5535, allocations: 0.656 MB / 0.5304 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2142/0.7678, allocations: 0.9625 MB / 0.5313 GB, free: 105.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001629/0.7695, allocations: 0.8049 MB / 0.5321 GB, free: 105.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.7695, allocations: 8.219 kB / 0.5321 GB, free: 105.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003704/0.7732, allocations: 2.28 MB / 0.5343 GB, free: 105.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.7732, allocations: 9.328 kB / 0.5343 GB, free: 105.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/0.7733, allocations: 9.781 kB / 0.5344 GB, free: 105.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/0.7744, allocations: 0.4972 MB / 0.5348 GB, free: 105.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.7756, allocations: 331 kB / 0.5352 GB, free: 105.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005856/0.7815, allocations: 6.644 MB / 0.5416 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.7828, allocations: 84.5 kB / 0.5417 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/0.7829, allocations: 57.22 kB / 0.5418 GB, free: 101.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 148 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00026/0.7832, allocations: 184.3 kB / 0.542 GB, free: 101.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002389/0.7834, allocations: 148.4 kB / 0.5421 GB, free: 101.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003625/0.7871, allocations: 2.092 MB / 0.5441 GB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.041e-05/0.7871, allocations: 11.5 kB / 0.5442 GB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/0.7871, allocations: 5.156 kB / 0.5442 GB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.466e-05/0.7871, allocations: 6.094 kB / 0.5442 GB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007623/0.7948, allocations: 4.298 MB / 0.5484 GB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/0.7948, allocations: 6 kB / 0.5484 GB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.7958, allocations: 223.6 kB / 0.5486 GB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001348/0.7972, allocations: 0.5573 MB / 0.5491 GB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-05/0.7973, allocations: 36.48 kB / 0.5492 GB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006604/0.8039, allocations: 8.182 MB / 0.5572 GB, free: 95.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.8039, allocations: 5.656 kB / 0.5572 GB, free: 95.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004267/0.8082, allocations: 3.176 MB / 0.5603 GB, free: 93.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007618/0.809, allocations: 364.4 kB / 0.5606 GB, free: 93.67 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003564/0.8094, allocations: 34.84 kB / 0.5606 GB, free: 93.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009743/0.8104, allocations: 72.39 kB / 0.5607 GB, free: 93.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002813/0.8107, allocations: 108.4 kB / 0.5608 GB, free: 93.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.186e-05/0.8108, allocations: 37.52 kB / 0.5608 GB, free: 93.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001384/0.8121, allocations: 0.8329 MB / 0.5617 GB, free: 93.26 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.62e-07/0.8122, allocations: 3.812 kB / 0.5617 GB, free: 93.26 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002009/0.8142, allocations: 485.9 kB / 0.5621 GB, free: 93.21 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (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,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 95 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004633/0.8188, allocations: 4.506 MB / 0.5665 GB, free: 90.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003097/0.8219, allocations: 2.295 MB / 0.5688 GB, free: 89.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/0.822, allocations: 3.625 kB / 0.5688 GB, free: 89.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001921/0.8239, allocations: 1.569 MB / 0.5703 GB, free: 88.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/0.8258, allocations: 396 kB / 0.5707 GB, free: 88.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007182/0.833, allocations: 3.969 MB / 0.5746 GB, free: 86.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001255/0.8342, allocations: 1.692 MB / 0.5762 GB, free: 85.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00107/0.8353, allocations: 335.2 kB / 0.5765 GB, free: 85.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008116/0.8362, allocations: 0.7157 MB / 0.5772 GB, free: 85.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.022e-06/0.8362, allocations: 0 / 0.5772 GB, free: 85.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05959/0.8958, allocations: 40.84 MB / 0.6171 GB, free: 61.49 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001575/0.896, allocations: 205.9 kB / 0.6173 GB, free: 61.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.026/3.922, allocations: 0 / 0.6173 GB, free: 61.27 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.mat does not exist to compare? outputFormat=mat