Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.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.001764/0.001764, allocations: 114 kB / 21.18 MB, free: 0.7422 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.001356/0.001356, allocations: 214.1 kB / 24.48 MB, free: 4.191 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.411/1.411, allocations: 230.4 MB / 258.1 MB, free: 8.141 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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening,tolerance=1e-06,outputFormat="empty",numberOfIntervals=25000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening,tolerance=1e-06,outputFormat="empty",numberOfIntervals=25000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening") [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.003093/0.003093, allocations: 71.83 kB / 378.8 MB, free: 2.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2413, allocations: 53.32 MB / 432.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening): time 0.0288/0.2701, allocations: 24.84 MB / 456.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01443/0.2845, allocations: 7.915 MB / 464.9 MB, free: 6.484 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003137/0.2876, allocations: 167.5 kB / 465 MB, free: 6.32 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.013/0.3006, allocations: 5.769 MB / 470.8 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006822/0.3075, allocations: 2.629 MB / 473.4 MB, free: 13.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004121/0.3116, allocations: 1.844 MB / 475.3 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009015/0.3206, allocations: 7.87 MB / 483.1 MB, free: 4.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01245/0.3331, allocations: 8.932 MB / 492.1 MB, free: 11.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00469/0.3377, allocations: 3.989 MB / 496 MB, free: 7.086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005825/0.3436, allocations: 4.602 MB / 0.4889 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001361/0.3449, allocations: 1.109 MB / 0.49 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002354/0.3473, allocations: 1.464 MB / 0.4914 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001955/0.3492, allocations: 2.244 MB / 0.4936 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004301/0.3535, allocations: 4.33 MB / 0.4979 GB, free: 9.297 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01505/0.3686, allocations: 15.09 MB / 0.5126 GB, free: 10.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3686, allocations: 0 / 0.5126 GB, free: 10.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3686, allocations: 4 kB / 0.5126 GB, free: 10.15 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001799/0.3688, allocations: 0 / 0.5126 GB, free: 10.15 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1903 * Number of variables: 1903 Notification: Performance of Generate backend data structure: time 0.02232/0.3911, allocations: 9.364 MB / 0.5217 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.3911, allocations: 12.02 kB / 0.5217 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02996/0.4211, allocations: 5.279 MB / 0.5269 GB, free: 11.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009772/0.4309, allocations: 4.771 MB / 0.5316 GB, free: 6.562 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000394/0.4313, allocations: 0.5058 MB / 0.5321 GB, free: 6.055 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001217/0.4325, allocations: 0.6718 MB / 0.5327 GB, free: 5.383 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1936/0.6261, allocations: 11.19 MB / 0.5436 GB, free: 88.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002123/0.6263, allocations: 12.92 kB / 0.5437 GB, free: 88.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00132/0.6276, allocations: 282.9 kB / 0.5439 GB, free: 87.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003233/0.628, allocations: 431.8 kB / 0.5443 GB, free: 87.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01599/0.644, allocations: 10.75 MB / 0.5548 GB, free: 83.85 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03714/0.6811, allocations: 35.97 MB / 0.59 GB, free: 51.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007653/0.6888, allocations: 11.54 MB / 0.6012 GB, free: 39.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003072/0.6918, allocations: 2.597 MB / 0.6038 GB, free: 36.44 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002697/0.6921, allocations: 275.8 kB / 0.604 GB, free: 36.15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.6921, allocations: 73.38 kB / 0.6041 GB, free: 36.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=365): time 5.52e-06/0.6921, allocations: 0 / 0.6041 GB, free: 36.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=375): time 0.03149/0.7236, allocations: 15.93 MB / 0.6197 GB, free: 20.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.7237, allocations: 141.8 kB / 0.6198 GB, free: 20.22 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003287/0.727, allocations: 2.798 MB / 0.6225 GB, free: 17.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002004/0.7272, allocations: 89.7 kB / 0.6226 GB, free: 17.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001071/0.7282, allocations: 2.976 MB / 0.6255 GB, free: 14.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006535/0.7289, allocations: 1.331 MB / 0.6268 GB, free: 13.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001099/0.73, allocations: 0.9066 MB / 0.6277 GB, free: 12.28 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.04e-05/0.73, allocations: 305.1 kB / 0.628 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00284/0.7328, allocations: 2.325 MB / 0.6303 GB, free: 9.633 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003356/0.7362, allocations: 3.916 MB / 0.6341 GB, free: 4.973 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007773/0.744, allocations: 6.727 MB / 0.6407 GB, free: 13.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-05/0.744, allocations: 16 kB / 0.6407 GB, free: 13.49 MB / 462.1 MB Notification: Performance of matching and sorting (n=611) (initialization): time 0.0121/0.7561, allocations: 7.09 MB / 0.6476 GB, free: 6.367 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.326e-05/0.7561, allocations: 34.66 kB / 0.6476 GB, free: 6.336 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.348e-05/0.7562, allocations: 52 kB / 0.6477 GB, free: 6.285 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003727/0.7599, allocations: 1.225 MB / 0.6489 GB, free: 5.055 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003989/0.7639, allocations: 1.069 MB / 0.6499 GB, free: 3.984 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003671/0.7676, allocations: 2.367 MB / 0.6522 GB, free: 1.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002815/0.7704, allocations: 283.6 kB / 0.6525 GB, free: 1.312 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004025/0.7708, allocations: 236 kB / 0.6527 GB, free: 1.082 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007078/0.7779, allocations: 4.522 MB / 0.6571 GB, free: 12.55 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005173/0.7831, allocations: 3.903 MB / 0.661 GB, free: 7.906 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00987/0.7929, allocations: 6.707 MB / 0.6675 GB, free: 472 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.212e-05/0.793, allocations: 16.11 kB / 0.6675 GB, free: 456 kB / 478.1 MB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.0119/0.8049, allocations: 7.055 MB / 0.6744 GB, free: 9.355 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.749e-05/0.8049, allocations: 32.16 kB / 0.6744 GB, free: 9.324 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.794e-05/0.805, allocations: 48 kB / 0.6745 GB, free: 9.277 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00356/0.8085, allocations: 1.189 MB / 0.6757 GB, free: 8.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003941/0.8125, allocations: 1.072 MB / 0.6767 GB, free: 7.016 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003205/0.8157, allocations: 2.285 MB / 0.6789 GB, free: 4.707 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002738/0.8184, allocations: 271.7 kB / 0.6792 GB, free: 4.441 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003983/0.8188, allocations: 236 kB / 0.6794 GB, free: 4.211 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 232 * Number of states: 0 () * Number of discrete variables: 1 (fieldWeakeningController.PID.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (546): * Single equations (assignments): 545 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(11,55)} Notification: Performance of prepare postOptimizeDAE: time 0.0008091/0.8196, allocations: 490.6 kB / 0.6799 GB, free: 3.723 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007629/0.8204, allocations: 369.7 kB / 0.6802 GB, free: 3.359 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01062/0.831, allocations: 5.824 MB / 0.6859 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-05/0.8311, allocations: 23.92 kB / 0.6859 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.8311, allocations: 0 / 0.6859 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00193/0.833, allocations: 0.8772 MB / 0.6868 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005046/0.8335, allocations: 60 kB / 0.6869 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001923/0.8354, allocations: 211.8 kB / 0.6871 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004547/0.8359, allocations: 234.7 kB / 0.6873 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01179/0.8477, allocations: 5.883 MB / 0.693 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01148/0.8591, allocations: 7.263 MB / 0.7001 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003282/0.8624, allocations: 2.16 MB / 0.7022 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002873/0.8653, allocations: 1.875 MB / 0.7041 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of Backend: time 2.21e-07/0.8653, allocations: 4 kB / 0.7041 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01448/0.8798, allocations: 7.101 MB / 0.711 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of SimCode: time 0.02012/0.8999, allocations: 11.93 MB / 0.7227 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of Templates: time 0.2907/1.191, allocations: 92.48 MB / 0.813 GB, free: 139.9 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.668584781698883] Failed to read output from testmodel.py, exit status != 0: 1.2006251723505557 1.2156117770000001 0.843444469 Calling exit ...