Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking.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.001277/0.001277, allocations: 113.9 kB / 21.18 MB, free: 0.6289 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.001348/0.001348, allocations: 209.8 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.394/1.394, allocations: 230.4 MB / 258.1 MB, free: 8.152 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.SynchronousMachines.SMPM_ResistiveBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.is.1.|smpm.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|tauElectrical|tauShaft|wMechanical",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.is.1.|smpm.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|tauElectrical|tauShaft|wMechanical",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 67.81 kB / 378.8 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2238, allocations: 53.33 MB / 432.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking): time 0.01366/0.2375, allocations: 11.54 MB / 443.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006715/0.2442, allocations: 3.61 MB / 447.2 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00123/0.2454, allocations: 63.75 kB / 447.3 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002007/0.2474, allocations: 0.9046 MB / 448.2 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002289/0.2497, allocations: 0.9786 MB / 449.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008733/0.2506, allocations: 451.2 kB / 449.6 MB, free: 5.773 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00409/0.2547, allocations: 3.74 MB / 453.4 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002138/0.2568, allocations: 1.592 MB / 454.9 MB, free: 372 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002197/0.259, allocations: 1.667 MB / 456.6 MB, free: 14.69 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002577/0.2616, allocations: 2.024 MB / 458.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005431/0.2621, allocations: 420 kB / 459 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000867/0.263, allocations: 0.4958 MB / 459.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001155/0.2642, allocations: 1.223 MB / 460.8 MB, free: 10.53 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001992/0.2661, allocations: 1.941 MB / 462.7 MB, free: 8.578 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005669/0.2718, allocations: 5.562 MB / 468.3 MB, free: 2.996 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2718, allocations: 0 / 468.3 MB, free: 2.996 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2718, allocations: 0 / 468.3 MB, free: 2.996 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.377e-05/0.2719, allocations: 0 / 468.3 MB, free: 2.996 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 739 * Number of variables: 739 Notification: Performance of Generate backend data structure: time 0.007344/0.2792, allocations: 3.904 MB / 472.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.2793, allocations: 12.03 kB / 472.2 MB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009595/0.2802, allocations: 414.5 kB / 472.6 MB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003966/0.2842, allocations: 2.073 MB / 474.7 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001801/0.2844, allocations: 221.1 kB / 474.9 MB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004331/0.2848, allocations: 284 kB / 475.2 MB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006197/0.291, allocations: 3.857 MB / 479 MB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.504e-05/0.2911, allocations: 4 kB / 479 MB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002677/0.2913, allocations: 116 kB / 479.1 MB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001285/0.2915, allocations: 125.5 kB / 479.2 MB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005408/0.2969, allocations: 3.262 MB / 482.5 MB, free: 4.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01881/0.3157, allocations: 11.81 MB / 494.3 MB, free: 8.398 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003512/0.3192, allocations: 3.546 MB / 497.9 MB, free: 4.438 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002163/0.3214, allocations: 1.156 MB / 499 MB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002321/0.3216, allocations: 122.4 kB / 499.1 MB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.022e-05/0.3217, allocations: 47.88 kB / 499.2 MB, free: 3.086 MB / 398.1 MB Notification: Performance of pre-optimization done (n=136): time 3.176e-06/0.3217, allocations: 4 kB / 499.2 MB, free: 3.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=151): time 0.01441/0.3361, allocations: 7.352 MB / 0.4947 GB, free: 11.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.3361, allocations: 68.72 kB / 0.4947 GB, free: 11.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002971/0.3391, allocations: 2.064 MB / 0.4968 GB, free: 9.289 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001118/0.3392, allocations: 53.7 kB / 0.4968 GB, free: 9.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001117/0.3403, allocations: 1.409 MB / 0.4982 GB, free: 7.812 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004644/0.3408, allocations: 0.5423 MB / 0.4987 GB, free: 7.266 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000552/0.3413, allocations: 355.4 kB / 0.499 GB, free: 6.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.3415, allocations: 309 kB / 0.4993 GB, free: 6.605 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/0.3428, allocations: 0.8666 MB / 0.5002 GB, free: 5.738 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001805/0.3446, allocations: 1.361 MB / 0.5015 GB, free: 4.172 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003221/0.3479, allocations: 2.334 MB / 0.5038 GB, free: 1.633 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.375e-06/0.3479, allocations: 4 kB / 0.5038 GB, free: 1.629 MB / 414.1 MB Notification: Performance of matching and sorting (n=235) (initialization): time 0.005697/0.3536, allocations: 3.271 MB / 0.507 GB, free: 14.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.3536, allocations: 8 kB / 0.507 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.243e-05/0.3536, allocations: 16 kB / 0.507 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002354/0.356, allocations: 0.8485 MB / 0.5078 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.3572, allocations: 347.4 kB / 0.5082 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01981/0.377, allocations: 20.59 MB / 0.5283 GB, free: 6.922 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/0.3786, allocations: 96.06 kB / 0.5284 GB, free: 6.828 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/0.3787, allocations: 83.92 kB / 0.5285 GB, free: 6.746 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 2 (booleanReplicator3.y[3],booleanReplicator2.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (194): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(2,9,100.0%), (1,6,100.0%), (1,3,100.0%), (1,4,100.0%), (1,3,100.0%), (1,4,100.0%), (1,3,100.0%), (1,4,100.0%), (2,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001695/0.3804, allocations: 0.9365 MB / 0.5294 GB, free: 5.801 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004085/0.3809, allocations: 226.6 kB / 0.5296 GB, free: 5.578 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004775/0.3856, allocations: 2.609 MB / 0.5321 GB, free: 2.906 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-05/0.3856, allocations: 11.97 kB / 0.5321 GB, free: 2.895 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3856, allocations: 0 / 0.5321 GB, free: 2.895 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/0.3868, allocations: 491.5 kB / 0.5326 GB, free: 2.395 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002807/0.387, allocations: 35.92 kB / 0.5326 GB, free: 2.359 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/0.3881, allocations: 111.9 kB / 0.5328 GB, free: 2.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002784/0.3884, allocations: 133.1 kB / 0.5329 GB, free: 2.117 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1772/0.5656, allocations: 2.596 MB / 0.5354 GB, free: 98.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004088/0.5697, allocations: 3.03 MB / 0.5384 GB, free: 98.53 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009303/0.5706, allocations: 0.8082 MB / 0.5392 GB, free: 98.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001772/0.5724, allocations: 1.411 MB / 0.5405 GB, free: 97.73 MB / 446.1 MB Notification: Performance of Backend: time 4.61e-07/0.5724, allocations: 0 / 0.5405 GB, free: 97.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003807/0.5762, allocations: 2.813 MB / 0.5433 GB, free: 95.97 MB / 446.1 MB Notification: Performance of SimCode: time 0.007277/0.5834, allocations: 6.432 MB / 0.5496 GB, free: 92.91 MB / 446.1 MB Notification: Performance of Templates: time 0.04902/0.6325, allocations: 40.65 MB / 0.5893 GB, free: 56.46 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.303276640828699] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertiaLoad.phi', 'inertiaLoad.w', 'smpm.is[1]', 'smpm.is[2]', 'smpm.idq_sr[1]', 'smpm.idq_sr[2]', 'tauElectrical', 'tauShaft', 'wMechanical'] 0.6400963147170842 0.648017276 0.37401514299999994 Calling exit ...