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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001628/0.001628, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001823/0.001823, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 59.91 kB / 358.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2606, allocations: 50.55 MB / 408.8 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.009809/0.2704, allocations: 8.226 MB / 417.1 MB, free: 9.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005014/0.2755, allocations: 2.73 MB / 419.8 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.2766, allocations: 43.81 kB / 419.8 MB, free: 6.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001682/0.2784, allocations: 0.6086 MB / 420.4 MB, free: 5.801 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001585/0.28, allocations: 0.6405 MB / 421.1 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005952/0.2806, allocations: 283.6 kB / 421.4 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002313/0.2829, allocations: 2.043 MB / 423.4 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001646/0.2845, allocations: 1.421 MB / 424.8 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001239/0.2858, allocations: 0.8954 MB / 425.7 MB, free: 476 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001434/0.2872, allocations: 1.066 MB / 426.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003406/0.2876, allocations: 228 kB / 427 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00061/0.2882, allocations: 315.8 kB / 427.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006276/0.2888, allocations: 0.6311 MB / 427.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001093/0.2899, allocations: 1.027 MB / 429 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003305/0.2933, allocations: 3.013 MB / 432 MB, free: 10.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.2933, allocations: 3.938 kB / 432 MB, free: 10.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2933, allocations: 0 / 432 MB, free: 10.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.06e-05/0.2933, allocations: 0 / 432 MB, free: 10.17 MB / 350.1 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.003911/0.2973, allocations: 2.182 MB / 434.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.2973, allocations: 11.97 kB / 434.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003005/0.2976, allocations: 228 kB / 434.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005976/0.2982, allocations: 223.7 kB / 434.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00181/0.3001, allocations: 1.154 MB / 435.8 MB, free: 6.266 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.902e-05/0.3002, allocations: 115.1 kB / 435.9 MB, free: 6.152 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002234/0.3004, allocations: 155.9 kB / 436 MB, free: 6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003028/0.3034, allocations: 1.963 MB / 438 MB, free: 3.992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.8e-05/0.3035, allocations: 7.953 kB / 438 MB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001406/0.3036, allocations: 60 kB / 438.1 MB, free: 3.926 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.038e-05/0.3037, allocations: 74.92 kB / 438.1 MB, free: 3.852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002559/0.3063, allocations: 1.585 MB / 439.7 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009492/0.3158, allocations: 6.294 MB / 446 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.3172, allocations: 0.8419 MB / 446.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/0.3182, allocations: 0.5713 MB / 447.4 MB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002251/0.3185, allocations: 113.6 kB / 447.5 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.3185, allocations: 39.12 kB / 447.6 MB, free: 10.13 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.785e-06/0.3185, allocations: 0 / 447.6 MB, free: 10.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01362/0.3321, allocations: 5.869 MB / 453.4 MB, free: 4.125 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.3322, allocations: 60.41 kB / 453.5 MB, free: 4.055 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001719/0.334, allocations: 1.152 MB / 454.7 MB, free: 2.887 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.355e-05/0.3341, allocations: 41.7 kB / 454.7 MB, free: 2.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00063/0.3347, allocations: 0.7886 MB / 455.5 MB, free: 2.043 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002718/0.335, allocations: 317.3 kB / 455.8 MB, free: 1.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003371/0.3353, allocations: 210.9 kB / 456 MB, free: 1.516 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.3355, allocations: 353.9 kB / 456.3 MB, free: 1.164 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007944/0.3363, allocations: 0.5413 MB / 456.9 MB, free: 0.625 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.3374, allocations: 0.8796 MB / 457.8 MB, free: 15.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002009/0.3394, allocations: 1.524 MB / 459.3 MB, free: 13.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.3394, allocations: 4 kB / 459.3 MB, free: 13.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.00354/0.343, allocations: 2.052 MB / 461.3 MB, free: 11.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/0.343, allocations: 19.06 kB / 461.4 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.343, allocations: 8 kB / 461.4 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00146/0.3445, allocations: 0.5516 MB / 461.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008305/0.3453, allocations: 243.6 kB / 462.2 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009115/0.3545, allocations: 8.66 MB / 470.8 MB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/0.3556, allocations: 76.08 kB / 470.9 MB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.3557, allocations: 48 kB / 470.9 MB, free: 1.668 MB / 382.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (4,8,87.5%), (1,3,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000912/0.3566, allocations: 0.5169 MB / 471.5 MB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002659/0.3569, allocations: 127.2 kB / 471.6 MB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003132/0.36, allocations: 1.77 MB / 473.4 MB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.3601, allocations: 12 kB / 473.4 MB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.3601, allocations: 4 kB / 473.4 MB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.3601, allocations: 7.969 kB / 473.4 MB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006292/0.3664, allocations: 3.745 MB / 477.1 MB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.3664, allocations: 0 / 477.1 MB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005327/0.367, allocations: 127.8 kB / 477.3 MB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00161/0.3686, allocations: 0.5915 MB / 477.8 MB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.799e-05/0.3687, allocations: 23.98 kB / 477.9 MB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00862/0.3773, allocations: 7.71 MB / 485.6 MB, free: 2.488 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3773, allocations: 0 / 485.6 MB, free: 2.488 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003996/0.3813, allocations: 2.5 MB / 488.1 MB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005939/0.382, allocations: 312.3 kB / 488.4 MB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001614/0.3821, allocations: 27.92 kB / 488.4 MB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006193/0.3828, allocations: 51.94 kB / 488.5 MB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/0.3829, allocations: 76.48 kB / 488.5 MB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.235e-05/0.383, allocations: 24 kB / 488.6 MB, free: 15.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001172/0.3842, allocations: 0.7895 MB / 489.3 MB, free: 14.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.114e-06/0.3842, allocations: 4 kB / 489.4 MB, free: 14.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001351/0.3856, allocations: 379.9 kB / 489.7 MB, free: 14.27 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (imc.inertiaRotor.w,imc.idq_sr[1],imc.idq_sr[2],imc.idq_rr[1],imc.idq_rr[2],loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(6,14,69.4%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004338/0.3899, allocations: 3.109 MB / 492.8 MB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003406/0.3933, allocations: 2.131 MB / 495 MB, free: 8.867 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.3934, allocations: 8.062 kB / 495 MB, free: 8.859 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002158/0.3955, allocations: 1.303 MB / 496.3 MB, free: 7.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001738/0.3973, allocations: 371.2 kB / 496.6 MB, free: 7.145 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0206/0.4179, allocations: 13.69 MB / 0.4984 GB, free: 8.902 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00125/0.4192, allocations: 1.471 MB / 0.4998 GB, free: 7.402 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007929/0.42, allocations: 263 kB / 0.5001 GB, free: 7.141 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000756/0.4207, allocations: 0.5618 MB / 0.5006 GB, free: 6.578 MB / 430.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4208, allocations: 0 / 0.5006 GB, free: 6.578 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08315/0.5039, allocations: 35.12 MB / 0.5349 GB, free: 3.832 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.41/17.92, allocations: 15.44 kB / 0.5349 GB, free: 3.82 MB / 462.1 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/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)