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.001259/0.001259, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001366/0.001366, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.411/1.411, allocations: 230.6 MB / 258.3 MB, free: 8.035 MB / 206.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.1849/0.1849, allocations: 38.52 MB / 353.2 MB, free: 12.57 MB / 286.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.002085/0.002085, allocations: 75.88 kB / 493.8 MB, free: 4.402 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3217, allocations: 62.46 MB / 0.5432 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.009057/0.3307, allocations: 6.538 MB / 0.5496 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004667/0.3354, allocations: 2.727 MB / 0.5523 GB, free: 9.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005267/0.3359, allocations: 42.28 kB / 0.5523 GB, free: 9.316 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.3371, allocations: 345 kB / 0.5526 GB, free: 9.051 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001517/0.3386, allocations: 0.6067 MB / 0.5532 GB, free: 8.586 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000709/0.3393, allocations: 289.7 kB / 0.5535 GB, free: 8.352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001738/0.341, allocations: 1.207 MB / 0.5547 GB, free: 7.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.3421, allocations: 0.768 MB / 0.5554 GB, free: 7.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008314/0.3429, allocations: 0.4985 MB / 0.5559 GB, free: 6.828 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008739/0.3438, allocations: 0.565 MB / 0.5565 GB, free: 6.477 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.3439, allocations: 86.81 kB / 0.5566 GB, free: 6.477 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006854/0.3446, allocations: 379.9 kB / 0.5569 GB, free: 6.312 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003936/0.345, allocations: 345.8 kB / 0.5573 GB, free: 6.074 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004973/0.3455, allocations: 461.5 kB / 0.5577 GB, free: 5.629 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001676/0.3472, allocations: 1.382 MB / 0.559 GB, free: 4.242 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3472, allocations: 0 / 0.559 GB, free: 4.242 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3472, allocations: 0 / 0.559 GB, free: 4.242 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.3472, allocations: 0 / 0.559 GB, free: 4.242 MB / 398.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.002262/0.3495, allocations: 1.094 MB / 0.5601 GB, free: 3.117 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.3495, allocations: 11.98 kB / 0.5601 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006937/0.3502, allocations: 148.3 kB / 0.5603 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/0.3515, allocations: 0.6343 MB / 0.5609 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.3516, allocations: 105.3 kB / 0.561 GB, free: 2.184 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.3517, allocations: 64 kB / 0.561 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.3532, allocations: 0.957 MB / 0.562 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/0.3532, allocations: 7.953 kB / 0.562 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.097e-05/0.3533, allocations: 31.98 kB / 0.562 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000103/0.3534, allocations: 57.28 kB / 0.5621 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.3548, allocations: 0.7896 MB / 0.5628 GB, free: 236 kB / 398.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.00525/0.36, allocations: 3.754 MB / 0.5665 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007968/0.3608, allocations: 416.1 kB / 0.5669 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000437/0.3613, allocations: 223.1 kB / 0.5671 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.567e-05/0.3613, allocations: 11.8 kB / 0.5671 GB, free: 11.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.3613, allocations: 46.48 kB / 0.5672 GB, free: 11.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=37): time 2.084e-06/0.3613, allocations: 4 kB / 0.5672 GB, free: 11.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=55): time 0.01078/0.3721, allocations: 3.399 MB / 0.5705 GB, free: 8.066 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.099e-05/0.3722, allocations: 115.2 kB / 0.5706 GB, free: 7.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007345/0.3729, allocations: 0.5183 MB / 0.5711 GB, free: 7.406 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.714e-05/0.373, allocations: 37.7 kB / 0.5712 GB, free: 7.363 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003231/0.3733, allocations: 412.1 kB / 0.5715 GB, free: 6.953 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001895/0.3735, allocations: 198.3 kB / 0.5717 GB, free: 6.758 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/0.3737, allocations: 130.6 kB / 0.5719 GB, free: 6.625 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000198/0.3739, allocations: 370.8 kB / 0.5722 GB, free: 6.254 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004892/0.3744, allocations: 285.8 kB / 0.5725 GB, free: 5.973 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006715/0.3751, allocations: 0.5033 MB / 0.573 GB, free: 5.363 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/0.3763, allocations: 0.8559 MB / 0.5738 GB, free: 4.406 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3763, allocations: 0 / 0.5738 GB, free: 4.406 MB / 414.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003606/0.38, allocations: 1.299 MB / 0.5751 GB, free: 3.086 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/0.38, allocations: 11.98 kB / 0.5751 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.38, allocations: 8 kB / 0.5751 GB, free: 3.066 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001688/0.3817, allocations: 463.2 kB / 0.5755 GB, free: 2.602 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004671/0.3822, allocations: 119.9 kB / 0.5757 GB, free: 2.484 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01124/0.3934, allocations: 8.809 MB / 0.5843 GB, free: 9.199 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000643/0.394, allocations: 31.92 kB / 0.5843 GB, free: 9.168 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.148e-05/0.3941, allocations: 36 kB / 0.5843 GB, free: 9.133 MB / 430.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.0004855/0.3946, allocations: 301.6 kB / 0.5846 GB, free: 8.828 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.3947, allocations: 67.62 kB / 0.5847 GB, free: 8.762 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00314/0.3979, allocations: 1.15 MB / 0.5858 GB, free: 7.594 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.3979, allocations: 8 kB / 0.5858 GB, free: 7.586 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.3979, allocations: 4 kB / 0.5858 GB, free: 7.582 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.3979, allocations: 4.219 kB / 0.5858 GB, free: 7.578 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004643/0.4025, allocations: 2.088 MB / 0.5879 GB, free: 5.422 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/0.4025, allocations: 7.938 kB / 0.5879 GB, free: 5.414 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003359/0.4029, allocations: 51.97 kB / 0.5879 GB, free: 5.363 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00152/0.4044, allocations: 454.8 kB / 0.5883 GB, free: 4.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.483e-05/0.4044, allocations: 16 kB / 0.5884 GB, free: 4.895 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01049/0.4149, allocations: 8.542 MB / 0.5967 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.4149, allocations: 11.94 kB / 0.5967 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003933/0.4189, allocations: 1.7 MB / 0.5984 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003743/0.4192, allocations: 131.5 kB / 0.5985 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.961e-05/0.4193, allocations: 8 kB / 0.5985 GB, free: 9.996 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004038/0.4197, allocations: 27.98 kB / 0.5985 GB, free: 9.969 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002141/0.42, allocations: 60.33 kB / 0.5986 GB, free: 9.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.302e-05/0.42, allocations: 19.98 kB / 0.5986 GB, free: 9.891 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000532/0.4205, allocations: 370.8 kB / 0.599 GB, free: 9.531 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4205, allocations: 0 / 0.599 GB, free: 9.531 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001029/0.4216, allocations: 255.9 kB / 0.5992 GB, free: 9.281 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.0003277/0.4219, allocations: 138.3 kB / 0.5993 GB, free: 9.137 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002616/0.4245, allocations: 1.325 MB / 0.6006 GB, free: 7.762 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.4245, allocations: 0 / 0.6006 GB, free: 7.762 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00178/0.4263, allocations: 0.9664 MB / 0.6016 GB, free: 6.738 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.4273, allocations: 177.5 kB / 0.6017 GB, free: 6.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003258/0.4306, allocations: 1.769 MB / 0.6035 GB, free: 4.754 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008406/0.4314, allocations: 1.056 MB / 0.6045 GB, free: 3.672 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.4316, allocations: 51.42 kB / 0.6046 GB, free: 3.621 MB / 446.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4316, allocations: 0 / 0.6046 GB, free: 3.621 MB / 446.1 MB Notification: Performance of Templates: time 0.03325/0.4649, allocations: 24.74 MB / 0.6287 GB, free: 10.89 MB / 478.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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.19853895693086] Failed to read output from testmodel.py, exit status != 0: 0.47445103200152516 0.48983097800000003 0.139333851 Calling exit ...