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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00187/0.00187, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002215/0.002215, allocations: 214.5 kB / 24.48 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 230.5 MB / 258.1 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|imc.idq_rr.1.|imc.idq_rr.2.|loadInertia.phi|loadInertia.w|imc.idq_sr.1.|imc.idq_sr.2.|imc.is.1.|imc.is.2.|tauElectrical|tauShaft|wMechanical",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|imc.idq_rr.1.|imc.idq_rr.2.|loadInertia.phi|loadInertia.w|imc.idq_sr.1.|imc.idq_sr.2.|imc.is.1.|imc.is.2.|tauElectrical|tauShaft|wMechanical",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002941/0.002941, allocations: 63.89 kB / 379 MB, free: 2.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2713, allocations: 53.41 MB / 432.4 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.01059/0.2818, allocations: 7.293 MB / 439.7 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005606/0.2875, allocations: 2.571 MB / 442.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001107/0.2886, allocations: 47.69 kB / 442.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002038/0.2906, allocations: 0.598 MB / 442.9 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00245/0.293, allocations: 0.6718 MB / 443.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007903/0.2938, allocations: 287.6 kB / 443.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003028/0.2969, allocations: 2.049 MB / 445.9 MB, free: 8.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001309/0.2982, allocations: 0.7992 MB / 446.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001667/0.2998, allocations: 0.9189 MB / 447.6 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001736/0.3016, allocations: 1.015 MB / 448.6 MB, free: 6.195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003804/0.302, allocations: 228 kB / 448.9 MB, free: 5.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007365/0.3027, allocations: 315.8 kB / 449.2 MB, free: 5.664 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007494/0.3034, allocations: 0.6427 MB / 449.8 MB, free: 5.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001127/0.3046, allocations: 0.8363 MB / 450.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003933/0.3085, allocations: 3.024 MB / 453.7 MB, free: 1.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/0.3085, allocations: 7.938 kB / 453.7 MB, free: 1.137 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.3085, allocations: 0 / 453.7 MB, free: 1.137 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.879e-05/0.3086, allocations: 0 / 453.7 MB, free: 1.137 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.00494/0.3135, allocations: 2.109 MB / 455.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.3136, allocations: 11.98 kB / 455.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006464/0.3142, allocations: 227.6 kB / 456 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002369/0.3166, allocations: 1.07 MB / 457.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/0.3167, allocations: 115.4 kB / 457.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002744/0.317, allocations: 163.8 kB / 457.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003752/0.3207, allocations: 2.051 MB / 459.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.113e-05/0.3208, allocations: 15.88 kB / 459.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001465/0.321, allocations: 60 kB / 459.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001059/0.3211, allocations: 74.92 kB / 459.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002771/0.3238, allocations: 1.581 MB / 461.2 MB, free: 9.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01045/0.3343, allocations: 5.448 MB / 466.6 MB, free: 3.875 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/0.3357, allocations: 0.7328 MB / 467.3 MB, free: 3.137 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/0.3367, allocations: 0.546 MB / 467.9 MB, free: 2.586 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001919/0.3369, allocations: 36.62 kB / 467.9 MB, free: 2.547 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.367e-05/0.3369, allocations: 47.16 kB / 468 MB, free: 2.492 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.524e-06/0.3369, allocations: 0 / 468 MB, free: 2.492 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01353/0.3504, allocations: 5.466 MB / 473.4 MB, free: 12.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/0.3505, allocations: 68.28 kB / 473.5 MB, free: 12.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001575/0.3521, allocations: 0.996 MB / 474.5 MB, free: 11.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.255e-05/0.3522, allocations: 41.7 kB / 474.5 MB, free: 11.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006705/0.3528, allocations: 0.808 MB / 475.3 MB, free: 11.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003002/0.3531, allocations: 313.3 kB / 475.6 MB, free: 10.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003443/0.3535, allocations: 210.9 kB / 475.8 MB, free: 10.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.3537, allocations: 353.9 kB / 476.2 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008322/0.3545, allocations: 0.5374 MB / 476.7 MB, free: 9.613 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/0.3557, allocations: 0.8873 MB / 477.6 MB, free: 8.574 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002071/0.3577, allocations: 1.516 MB / 479.1 MB, free: 6.914 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.3577, allocations: 8 kB / 479.1 MB, free: 6.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003679/0.3614, allocations: 2.028 MB / 481.2 MB, free: 4.852 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.3614, allocations: 11.94 kB / 481.2 MB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.246e-05/0.3615, allocations: 12 kB / 481.2 MB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001486/0.3629, allocations: 0.5594 MB / 481.8 MB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008414/0.3638, allocations: 239.6 kB / 482 MB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009174/0.373, allocations: 8.1 MB / 490.1 MB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/0.3741, allocations: 75.92 kB / 490.2 MB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.3742, allocations: 48 kB / 490.2 MB, free: 11.39 MB / 398.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.0009962/0.3752, allocations: 0.5208 MB / 490.7 MB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002594/0.3754, allocations: 119.2 kB / 490.8 MB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003116/0.3785, allocations: 1.742 MB / 492.6 MB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.3786, allocations: 8 kB / 492.6 MB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.3786, allocations: 4 kB / 492.6 MB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.3786, allocations: 8.078 kB / 492.6 MB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006425/0.385, allocations: 3.328 MB / 495.9 MB, free: 5.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.385, allocations: 4 kB / 495.9 MB, free: 5.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005391/0.3856, allocations: 127.8 kB / 496.1 MB, free: 5.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001583/0.3871, allocations: 0.5966 MB / 496.7 MB, free: 4.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.081e-05/0.3872, allocations: 27.98 kB / 496.7 MB, free: 4.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008815/0.396, allocations: 7.26 MB / 0.4921 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.396, allocations: 7.938 kB / 0.4921 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004117/0.4001, allocations: 2.46 MB / 0.4945 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007643/0.4009, allocations: 223.2 kB / 0.4948 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/0.4011, allocations: 20.25 kB / 0.4948 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006249/0.4017, allocations: 55.94 kB / 0.4948 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/0.4019, allocations: 76.52 kB / 0.4949 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.837e-05/0.4019, allocations: 27.98 kB / 0.4949 GB, free: 10.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001086/0.403, allocations: 0.6684 MB / 0.4956 GB, free: 9.633 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.403, allocations: 0 / 0.4956 GB, free: 9.633 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001428/0.4044, allocations: 372 kB / 0.4959 GB, free: 9.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.0003791/0.4048, allocations: 178 kB / 0.4961 GB, free: 9.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003505/0.4083, allocations: 1.929 MB / 0.498 GB, free: 7.105 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.4083, allocations: 0 / 0.498 GB, free: 7.105 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002178/0.4105, allocations: 1.2 MB / 0.4992 GB, free: 5.867 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/0.4122, allocations: 306.4 kB / 0.4995 GB, free: 5.566 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005856/0.418, allocations: 3.368 MB / 0.5027 GB, free: 2.137 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/0.4191, allocations: 0.8704 MB / 0.5036 GB, free: 1.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003405/0.4195, allocations: 83.36 kB / 0.5037 GB, free: 1.148 MB / 414.1 MB Notification: Performance of SimCode: time 1.262e-06/0.4195, allocations: 4 kB / 0.5037 GB, free: 1.145 MB / 414.1 MB Notification: Performance of Templates: time 0.2614/0.6809, allocations: 58.91 MB / 0.5612 GB, free: 86.92 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 11.949195438064635] Failed to read output from testmodel.py, exit status != 0: ['time', 'imc.idq_rr[1]', 'imc.idq_rr[2]', 'loadInertia.phi', 'loadInertia.w', 'imc.idq_sr[1]', 'imc.idq_sr[2]', 'imc.is[1]', 'imc.is[2]', 'tauElectrical', 'tauShaft', 'wMechanical'] 0.69163210503757 0.6986795520000001 0.387812992 Calling exit ...