Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001725/0.001725, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001157/0.001157, allocations: 100.5 kB / 286.7 MB, free: 5.254 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.34e-05/2.354e-05, allocations: 4 kB / 343.8 MB, free: 8.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09658/0.09664, allocations: 51.47 MB / 395.3 MB, free: 4.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3438/0.4404, allocations: 101.5 MB / 496.8 MB, free: 7.672 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002165/0.4407, allocations: 82.52 kB / 496.9 MB, free: 7.629 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09179/0.5325, allocations: 34.73 MB / 0.5191 GB, free: 9.906 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5326, allocations: 0 / 0.5191 GB, free: 9.906 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001725/0.5327, allocations: 39.94 kB / 0.5192 GB, free: 9.867 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.004382/0.5371, allocations: 1.651 MB / 0.5208 GB, free: 8.168 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/0.5372, allocations: 12.03 kB / 0.5208 GB, free: 8.156 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/0.5384, allocations: 225.7 kB / 0.521 GB, free: 7.934 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003011/0.5414, allocations: 1.18 MB / 0.5222 GB, free: 6.711 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.474e-05/0.5416, allocations: 51.98 kB / 0.5222 GB, free: 6.66 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004581/0.542, allocations: 99.84 kB / 0.5223 GB, free: 6.562 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003053/0.5451, allocations: 1.396 MB / 0.5237 GB, free: 5.164 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003787/0.5489, allocations: 1.704 MB / 0.5253 GB, free: 3.379 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.755e-05/0.549, allocations: 0 / 0.5253 GB, free: 3.379 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001864/0.5492, allocations: 7.953 kB / 0.5253 GB, free: 3.371 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-05/0.5493, allocations: 70.92 kB / 0.5254 GB, free: 3.301 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01021/0.5595, allocations: 6.006 MB / 0.5313 GB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/0.5608, allocations: 0.826 MB / 0.5321 GB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008802/0.5617, allocations: 0.56 MB / 0.5326 GB, free: 11.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002692/0.562, allocations: 129.6 kB / 0.5327 GB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.5621, allocations: 43.08 kB / 0.5328 GB, free: 11.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 2.816e-06/0.5621, allocations: 0 / 0.5328 GB, free: 11.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=96): time 0.00871/0.5708, allocations: 4.151 MB / 0.5368 GB, free: 7.281 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.5709, allocations: 64.19 kB / 0.5369 GB, free: 7.203 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001416/0.5723, allocations: 0.7766 MB / 0.5377 GB, free: 6.406 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.876e-05/0.5724, allocations: 25.7 kB / 0.5377 GB, free: 6.375 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000561/0.573, allocations: 0.7746 MB / 0.5384 GB, free: 5.586 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002839/0.5733, allocations: 327.2 kB / 0.5388 GB, free: 5.262 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.097e-05/0.5733, allocations: 4 kB / 0.5388 GB, free: 5.258 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.5735, allocations: 353.9 kB / 0.5391 GB, free: 4.906 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007742/0.5743, allocations: 0.5375 MB / 0.5396 GB, free: 4.367 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/0.5754, allocations: 0.8696 MB / 0.5405 GB, free: 3.348 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.5764, allocations: 0.705 MB / 0.5412 GB, free: 2.645 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.5764, allocations: 4 kB / 0.5412 GB, free: 2.641 MB / 410.7 MB Notification: Performance of matching and sorting (n=153) (initialization): time 0.003428/0.5799, allocations: 1.992 MB / 0.5431 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.5799, allocations: 11.95 kB / 0.5431 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/0.5799, allocations: 12 kB / 0.5431 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00145/0.5814, allocations: 0.5709 MB / 0.5437 GB, free: 8 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009631/0.5824, allocations: 259.6 kB / 0.5439 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007751/0.5901, allocations: 7.756 MB / 0.5515 GB, free: 7.539 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/0.5912, allocations: 51.83 kB / 0.5516 GB, free: 7.488 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001888/0.5914, allocations: 48.16 kB / 0.5516 GB, free: 7.441 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 125 * 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: 4 * 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: 4 {(1,100.0%) 1,(4,87.5%) 8,(1,100.0%) 6,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002611/0.5917, allocations: 140.6 kB / 0.5517 GB, free: 7.297 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003279/0.595, allocations: 1.743 MB / 0.5534 GB, free: 5.531 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004167/0.5954, allocations: 114.8 kB / 0.5536 GB, free: 5.418 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003556/0.599, allocations: 1.85 MB / 0.5554 GB, free: 3.543 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.599, allocations: 12.09 kB / 0.5554 GB, free: 3.531 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/0.599, allocations: 7.938 kB / 0.5554 GB, free: 3.523 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.599, allocations: 7.984 kB / 0.5554 GB, free: 3.516 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006834/0.6059, allocations: 3.732 MB / 0.559 GB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.6059, allocations: 0 / 0.559 GB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005003/0.6064, allocations: 116.1 kB / 0.5591 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001871/0.6083, allocations: 0.7225 MB / 0.5598 GB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.912e-05/0.6084, allocations: 15.98 kB / 0.5599 GB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009332/0.6177, allocations: 8.1 MB / 0.5678 GB, free: 6.391 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.6178, allocations: 7.938 kB / 0.5678 GB, free: 6.383 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004218/0.622, allocations: 2.736 MB / 0.5705 GB, free: 3.535 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006119/0.6226, allocations: 303.8 kB / 0.5707 GB, free: 3.219 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002336/0.6229, allocations: 7.984 kB / 0.5707 GB, free: 3.211 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006772/0.6236, allocations: 43.94 kB / 0.5708 GB, free: 3.168 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/0.6238, allocations: 88.56 kB / 0.5709 GB, free: 3.082 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.821e-05/0.6238, allocations: 27.98 kB / 0.5709 GB, free: 3.055 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008814/0.6247, allocations: 0.5826 MB / 0.5715 GB, free: 2.461 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6247, allocations: 0 / 0.5715 GB, free: 2.461 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00145/0.6262, allocations: 364 kB / 0.5718 GB, free: 2.105 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (imc.inertiaRotor.phi,imc.idq_sr[1],imc.idq_sr[2],imc.idq_rr[1],imc.idq_rr[2],loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 56 * 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 {(7,63.3%) 22,(1,100.0%) 1,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2157/0.8419, allocations: 4.089 MB / 0.5758 GB, free: 101.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002852/0.8448, allocations: 2.12 MB / 0.5779 GB, free: 100.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.8449, allocations: 0 / 0.5779 GB, free: 100.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001966/0.8468, allocations: 1.374 MB / 0.5792 GB, free: 100.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/0.8488, allocations: 266.6 kB / 0.5795 GB, free: 100.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00582/0.8546, allocations: 3.049 MB / 0.5825 GB, free: 99.45 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001473/0.8561, allocations: 1.523 MB / 0.5839 GB, free: 98.72 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001248/0.8574, allocations: 232.8 kB / 0.5842 GB, free: 98.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009573/0.8584, allocations: 0.5674 MB / 0.5847 GB, free: 98.69 MB / 442.7 MB Notification: Performance of SimCode: time 8.21e-07/0.8584, allocations: 0 / 0.5847 GB, free: 98.69 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07071/0.9291, allocations: 30.53 MB / 0.6145 GB, free: 97.05 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001408/0.9293, allocations: 170.9 kB / 0.6147 GB, free: 96.86 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.096/4.026, allocations: 0 / 0.6147 GB, free: 96.86 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking_fmu --startTime=0 --stopTime=25 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1)