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.001586/0.001586, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002003/0.002003, allocations: 211.5 kB / 23.73 MB, free: 4.387 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.604/1.604, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.1867/0.1867, allocations: 38.56 MB / 352.5 MB, free: 12.3 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.002129/0.002129, allocations: 71.89 kB / 493 MB, free: 4.188 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3968, allocations: 62.47 MB / 0.5424 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.009243/0.4061, allocations: 6.088 MB / 0.5484 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005321/0.4114, allocations: 2.514 MB / 0.5508 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001118/0.4125, allocations: 39.06 kB / 0.5509 GB, free: 9.832 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002088/0.4146, allocations: 312.6 kB / 0.5512 GB, free: 9.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002481/0.4171, allocations: 0.6032 MB / 0.5518 GB, free: 9.137 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.4181, allocations: 295.6 kB / 0.552 GB, free: 8.898 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002414/0.4206, allocations: 1.205 MB / 0.5532 GB, free: 8.207 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001522/0.4221, allocations: 0.7606 MB / 0.554 GB, free: 7.672 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001277/0.4234, allocations: 0.5017 MB / 0.5544 GB, free: 7.379 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001356/0.4247, allocations: 0.5265 MB / 0.555 GB, free: 7.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002994/0.425, allocations: 86.09 kB / 0.555 GB, free: 7.066 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/0.4261, allocations: 353.9 kB / 0.5554 GB, free: 6.922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005517/0.4267, allocations: 347.4 kB / 0.5557 GB, free: 6.586 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007732/0.4275, allocations: 370.5 kB / 0.5561 GB, free: 6.223 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002168/0.4296, allocations: 1.386 MB / 0.5574 GB, free: 4.832 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4296, allocations: 0 / 0.5574 GB, free: 4.832 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.4296, allocations: 0 / 0.5574 GB, free: 4.832 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.123e-05/0.4297, allocations: 4 kB / 0.5574 GB, free: 4.828 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.003209/0.4329, allocations: 1.084 MB / 0.5585 GB, free: 3.711 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.4329, allocations: 11.98 kB / 0.5585 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008919/0.4338, allocations: 140.3 kB / 0.5586 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/0.4354, allocations: 0.6343 MB / 0.5592 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001448/0.4356, allocations: 109.3 kB / 0.5593 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/0.4357, allocations: 64 kB / 0.5594 GB, free: 2.719 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/0.4375, allocations: 0.957 MB / 0.5603 GB, free: 1.715 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.942e-05/0.4376, allocations: 15.89 kB / 0.5604 GB, free: 1.699 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.838e-05/0.4377, allocations: 27.98 kB / 0.5604 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001198/0.4378, allocations: 57.3 kB / 0.5604 GB, free: 1.617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001522/0.4393, allocations: 0.7819 MB / 0.5612 GB, free: 0.832 MB / 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.006014/0.4453, allocations: 3.304 MB / 0.5644 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008793/0.4462, allocations: 412.2 kB / 0.5648 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004702/0.4467, allocations: 223.1 kB / 0.565 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.214e-05/0.4467, allocations: 11.86 kB / 0.565 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/0.4468, allocations: 42.48 kB / 0.5651 GB, free: 12.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=37): time 4.619e-06/0.4468, allocations: 3.938 kB / 0.5651 GB, free: 12.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=55): time 0.01131/0.4581, allocations: 3.392 MB / 0.5684 GB, free: 9.184 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.4582, allocations: 115.2 kB / 0.5685 GB, free: 9.047 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000801/0.459, allocations: 469.7 kB / 0.569 GB, free: 8.582 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.205e-05/0.4591, allocations: 37.7 kB / 0.569 GB, free: 8.539 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003665/0.4594, allocations: 411.9 kB / 0.5694 GB, free: 8.129 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002384/0.4597, allocations: 202.3 kB / 0.5696 GB, free: 7.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002492/0.4599, allocations: 130.6 kB / 0.5697 GB, free: 7.797 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002405/0.4601, allocations: 362.8 kB / 0.5701 GB, free: 7.434 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005494/0.4607, allocations: 285.8 kB / 0.5703 GB, free: 7.156 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007265/0.4614, allocations: 0.5033 MB / 0.5708 GB, free: 6.551 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/0.4627, allocations: 0.8481 MB / 0.5716 GB, free: 5.602 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.52e-05/0.4627, allocations: 8 kB / 0.5717 GB, free: 5.594 MB / 414.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003536/0.4663, allocations: 1.314 MB / 0.5729 GB, free: 4.258 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/0.4663, allocations: 8 kB / 0.5729 GB, free: 4.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/0.4663, allocations: 4 kB / 0.5729 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001709/0.468, allocations: 459.3 kB / 0.5734 GB, free: 3.785 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004754/0.4685, allocations: 123.7 kB / 0.5735 GB, free: 3.664 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01178/0.4803, allocations: 8.636 MB / 0.5819 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006608/0.481, allocations: 35.94 kB / 0.582 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.901e-05/0.4811, allocations: 28.23 kB / 0.582 GB, free: 10.55 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.0005867/0.4816, allocations: 313.6 kB / 0.5823 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001829/0.4818, allocations: 59.72 kB / 0.5824 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003209/0.485, allocations: 1.15 MB / 0.5835 GB, free: 9 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.485, allocations: 12 kB / 0.5835 GB, free: 8.988 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/0.4851, allocations: 4 kB / 0.5835 GB, free: 8.984 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.4851, allocations: 3.984 kB / 0.5835 GB, free: 8.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004667/0.4897, allocations: 1.885 MB / 0.5853 GB, free: 7.039 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.4897, allocations: 4 kB / 0.5853 GB, free: 7.035 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000344/0.4901, allocations: 59.91 kB / 0.5854 GB, free: 6.977 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001518/0.4916, allocations: 451.1 kB / 0.5858 GB, free: 6.523 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.158e-05/0.4917, allocations: 12 kB / 0.5858 GB, free: 6.512 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01114/0.5028, allocations: 8.391 MB / 0.594 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.5028, allocations: 8 kB / 0.594 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004353/0.5072, allocations: 1.684 MB / 0.5957 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00065/0.5078, allocations: 123.7 kB / 0.5958 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/0.508, allocations: 11.94 kB / 0.5958 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000472/0.5085, allocations: 19.98 kB / 0.5958 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002757/0.5087, allocations: 64.31 kB / 0.5959 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.519e-05/0.5088, allocations: 16 kB / 0.5959 GB, free: 11.74 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007003/0.5095, allocations: 319.1 kB / 0.5962 GB, free: 11.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5095, allocations: 0 / 0.5962 GB, free: 11.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001384/0.5109, allocations: 251.9 kB / 0.5965 GB, free: 11.18 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.0003996/0.5113, allocations: 142.9 kB / 0.5966 GB, free: 11.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003679/0.515, allocations: 1.329 MB / 0.5979 GB, free: 9.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.515, allocations: 0 / 0.5979 GB, free: 9.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002625/0.5176, allocations: 0.9664 MB / 0.5988 GB, free: 8.637 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/0.519, allocations: 141 kB / 0.599 GB, free: 8.504 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004749/0.5238, allocations: 1.685 MB / 0.6006 GB, free: 6.777 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008719/0.5246, allocations: 452.6 kB / 0.601 GB, free: 6.309 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005524/0.5252, allocations: 105.2 kB / 0.6011 GB, free: 6.203 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.5254, allocations: 43.42 kB / 0.6012 GB, free: 6.16 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5254, allocations: 0 / 0.6012 GB, free: 6.16 MB / 446.1 MB Notification: Performance of Templates: time 0.03676/0.5621, allocations: 14.68 MB / 0.6155 GB, free: 7.625 MB / 462.1 MB " [Timeout remaining time 659] 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: 5.8769542668014765] Failed to read output from testmodel.py, exit status != 0: 0.5734335817396641 0.593192096 0.160023527 Calling exit ...