Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 74.27 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 159.7 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.514/1.514, allocations: 177.2 MB / 204.9 MB, free: 8.996 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1942/0.1942, allocations: 29.42 MB / 290.7 MB, free: 3.262 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 63.89 kB / 431.2 MB, free: 3.219 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3628, allocations: 62.45 MB / 493.6 MB, free: 37.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.006916/0.3697, allocations: 6.092 MB / 499.7 MB, free: 33.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003754/0.3735, allocations: 2.519 MB / 0.4905 GB, free: 32.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003961/0.3739, allocations: 38.78 kB / 0.4905 GB, free: 32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.3749, allocations: 320.2 kB / 0.4908 GB, free: 31.83 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001219/0.3761, allocations: 0.6073 MB / 0.4914 GB, free: 31.51 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006015/0.3767, allocations: 289.6 kB / 0.4917 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001183/0.3779, allocations: 1.204 MB / 0.4929 GB, free: 30.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007819/0.3787, allocations: 0.7667 MB / 0.4936 GB, free: 30.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005359/0.3792, allocations: 0.4967 MB / 0.4941 GB, free: 30.19 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00066/0.3799, allocations: 0.5285 MB / 0.4946 GB, free: 30 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.38, allocations: 92.16 kB / 0.4947 GB, free: 30 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005304/0.3805, allocations: 352 kB / 0.495 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002633/0.3808, allocations: 339.9 kB / 0.4954 GB, free: 29.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003517/0.3812, allocations: 372.8 kB / 0.4957 GB, free: 29.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001148/0.3823, allocations: 1.38 MB / 0.4971 GB, free: 29.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.3823, allocations: 3.938 kB / 0.4971 GB, free: 29.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3823, allocations: 0 / 0.4971 GB, free: 29.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.3823, allocations: 0 / 0.4971 GB, free: 29.11 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.001898/0.3842, allocations: 1.092 MB / 0.4981 GB, free: 28.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.3843, allocations: 13.55 kB / 0.4981 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000652/0.3849, allocations: 143.8 kB / 0.4983 GB, free: 28.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.3859, allocations: 0.6341 MB / 0.4989 GB, free: 27.97 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/0.386, allocations: 112.1 kB / 0.499 GB, free: 27.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.3861, allocations: 62.69 kB / 0.4991 GB, free: 27.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.3874, allocations: 0.9613 MB / 0.5 GB, free: 27.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.112e-05/0.3874, allocations: 11.83 kB / 0.5 GB, free: 27.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-05/0.3875, allocations: 34.2 kB / 0.5 GB, free: 27.37 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.81e-05/0.3875, allocations: 53.38 kB / 0.5001 GB, free: 27.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.3887, allocations: 0.7851 MB / 0.5009 GB, free: 27.08 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004032/0.3927, allocations: 3.298 MB / 0.5041 GB, free: 24.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007003/0.3934, allocations: 420.1 kB / 0.5045 GB, free: 24.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003569/0.3938, allocations: 229.7 kB / 0.5047 GB, free: 24.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.3938, allocations: 6.984 kB / 0.5047 GB, free: 24.44 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.3938, allocations: 37.69 kB / 0.5047 GB, free: 24.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 2.224e-06/0.3938, allocations: 0 / 0.5047 GB, free: 24.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=55): time 0.00975/0.4036, allocations: 3.39 MB / 0.5081 GB, free: 22.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.4036, allocations: 113.3 kB / 0.5082 GB, free: 22.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005428/0.4042, allocations: 476.5 kB / 0.5086 GB, free: 22.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.4042, allocations: 36.64 kB / 0.5087 GB, free: 22.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.4044, allocations: 409.2 kB / 0.509 GB, free: 22.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.4045, allocations: 207.3 kB / 0.5092 GB, free: 22.01 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.4047, allocations: 130.3 kB / 0.5094 GB, free: 21.94 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.4048, allocations: 371.1 kB / 0.5097 GB, free: 21.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003969/0.4052, allocations: 282.3 kB / 0.51 GB, free: 21.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004797/0.4056, allocations: 0.4997 MB / 0.5105 GB, free: 21.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009606/0.4066, allocations: 0.8558 MB / 0.5113 GB, free: 20.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.4066, allocations: 3.156 kB / 0.5113 GB, free: 20.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003145/0.4098, allocations: 1.302 MB / 0.5126 GB, free: 19.99 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.4098, allocations: 10.78 kB / 0.5126 GB, free: 19.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.4098, allocations: 7.906 kB / 0.5126 GB, free: 19.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001567/0.4114, allocations: 466.8 kB / 0.5131 GB, free: 19.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004421/0.4118, allocations: 113.4 kB / 0.5132 GB, free: 19.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009628/0.4214, allocations: 8.64 MB / 0.5216 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007453/0.4222, allocations: 34.39 kB / 0.5216 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.37e-05/0.4222, allocations: 32.56 kB / 0.5217 GB, free: 13.22 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (3,8,88.9%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0005573/0.4228, allocations: 305.8 kB / 0.522 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.423, allocations: 66.48 kB / 0.522 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00351/0.4265, allocations: 1.147 MB / 0.5231 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.4265, allocations: 14.44 kB / 0.5232 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.4265, allocations: 3.469 kB / 0.5232 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.4265, allocations: 3.969 kB / 0.5232 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004308/0.4308, allocations: 1.878 MB / 0.525 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.4308, allocations: 1.281 kB / 0.525 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003348/0.4311, allocations: 63.3 kB / 0.5251 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001515/0.4327, allocations: 455.7 kB / 0.5255 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.794e-05/0.4327, allocations: 13.8 kB / 0.5255 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009051/0.4418, allocations: 8.385 MB / 0.5337 GB, free: 4.953 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4418, allocations: 6.188 kB / 0.5337 GB, free: 4.949 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003754/0.4455, allocations: 1.689 MB / 0.5353 GB, free: 4.109 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004075/0.4459, allocations: 125.3 kB / 0.5355 GB, free: 4.039 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.446, allocations: 17.95 kB / 0.5355 GB, free: 4.027 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000406/0.4464, allocations: 20.17 kB / 0.5355 GB, free: 4.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002677/0.4467, allocations: 57.94 kB / 0.5356 GB, free: 4.012 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.263e-05/0.4468, allocations: 16.77 kB / 0.5356 GB, free: 4.008 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004558/0.4472, allocations: 315.8 kB / 0.5359 GB, free: 3.859 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4472, allocations: 0.5625 kB / 0.5359 GB, free: 3.859 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00124/0.4484, allocations: 252.8 kB / 0.5361 GB, free: 3.828 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (machine.rotor.w,machine.motor.phi_el) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,8,88.9%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003143/0.4488, allocations: 145.7 kB / 0.5363 GB, free: 3.707 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002548/0.4513, allocations: 1.328 MB / 0.5376 GB, free: 2.906 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.4513, allocations: 0 / 0.5376 GB, free: 2.906 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001726/0.453, allocations: 0.9676 MB / 0.5385 GB, free: 2.242 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000925/0.454, allocations: 144.6 kB / 0.5386 GB, free: 2.184 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003382/0.4573, allocations: 1.687 MB / 0.5403 GB, free: 1.262 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006855/0.458, allocations: 456.2 kB / 0.5407 GB, free: 1.113 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000354/0.4584, allocations: 99.73 kB / 0.5408 GB, free: 1.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.4585, allocations: 47.03 kB / 0.5409 GB, free: 1.078 MB / 446.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4585, allocations: 4 kB / 0.5409 GB, free: 1.074 MB / 446.1 MB Notification: Performance of Templates: time 0.02738/0.4859, allocations: 13.73 MB / 0.5543 GB, free: 10.2 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.479991939035244] Failed to read output from testmodel.py, exit status != 0: 0.4960587250534445 0.5129370790000001 0.127072491 Calling exit ...