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.001822/0.001822, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002142/0.002142, allocations: 215.6 kB / 24.48 MB, free: 3.84 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.472/1.472, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.1844/0.1844, allocations: 38.55 MB / 353.2 MB, free: 12.33 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.002204/0.002204, allocations: 67.89 kB / 493.7 MB, free: 4.219 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3411, allocations: 62.45 MB / 0.5431 GB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.008898/0.35, allocations: 6.101 MB / 0.5491 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004919/0.3549, allocations: 2.514 MB / 0.5516 GB, free: 9.867 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005885/0.3555, allocations: 37.59 kB / 0.5516 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001197/0.3567, allocations: 318.1 kB / 0.5519 GB, free: 9.609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001491/0.3582, allocations: 0.6031 MB / 0.5525 GB, free: 9.148 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007141/0.3589, allocations: 295.7 kB / 0.5528 GB, free: 8.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00155/0.3605, allocations: 1.198 MB / 0.5539 GB, free: 8.227 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/0.3615, allocations: 0.7645 MB / 0.5547 GB, free: 7.688 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007292/0.3622, allocations: 0.4976 MB / 0.5552 GB, free: 7.398 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008239/0.363, allocations: 0.5303 MB / 0.5557 GB, free: 7.082 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001268/0.3632, allocations: 85.62 kB / 0.5558 GB, free: 7.082 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006637/0.3638, allocations: 350.5 kB / 0.5561 GB, free: 6.941 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003651/0.3642, allocations: 346 kB / 0.5564 GB, free: 6.633 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004619/0.3646, allocations: 378.4 kB / 0.5568 GB, free: 6.262 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0016/0.3662, allocations: 1.382 MB / 0.5581 GB, free: 4.875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3662, allocations: 0 / 0.5581 GB, free: 4.875 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3662, allocations: 0 / 0.5581 GB, free: 4.875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.3663, allocations: 0 / 0.5581 GB, free: 4.875 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.002222/0.3685, allocations: 1.084 MB / 0.5592 GB, free: 3.758 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.3685, allocations: 11.98 kB / 0.5592 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006866/0.3692, allocations: 148.3 kB / 0.5594 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.3706, allocations: 0.6304 MB / 0.56 GB, free: 2.941 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001599/0.3707, allocations: 113.3 kB / 0.5601 GB, free: 2.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.3708, allocations: 67.98 kB / 0.5601 GB, free: 2.754 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.3724, allocations: 0.957 MB / 0.5611 GB, free: 1.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.302e-05/0.3725, allocations: 11.89 kB / 0.5611 GB, free: 1.738 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.978e-05/0.3726, allocations: 28 kB / 0.5611 GB, free: 1.711 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001071/0.3727, allocations: 57.28 kB / 0.5612 GB, free: 1.656 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001447/0.3741, allocations: 0.778 MB / 0.5619 GB, free: 0.875 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.005344/0.3795, allocations: 3.3 MB / 0.5652 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008818/0.3803, allocations: 416.1 kB / 0.5656 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004582/0.3808, allocations: 231 kB / 0.5658 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.669e-05/0.3808, allocations: 7.859 kB / 0.5658 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/0.3809, allocations: 38.56 kB / 0.5658 GB, free: 12.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=37): time 2.695e-06/0.3809, allocations: 0 / 0.5658 GB, free: 12.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=55): time 0.01086/0.3917, allocations: 3.396 MB / 0.5691 GB, free: 9.227 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.489e-05/0.3918, allocations: 115.2 kB / 0.5692 GB, free: 9.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006457/0.3925, allocations: 469.7 kB / 0.5697 GB, free: 8.625 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.878e-05/0.3925, allocations: 37.7 kB / 0.5697 GB, free: 8.582 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003733/0.3929, allocations: 411.9 kB / 0.5701 GB, free: 8.172 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002233/0.3931, allocations: 206.3 kB / 0.5703 GB, free: 7.969 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/0.3933, allocations: 126.6 kB / 0.5704 GB, free: 7.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.3935, allocations: 370.8 kB / 0.5708 GB, free: 7.469 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004892/0.394, allocations: 281.8 kB / 0.5711 GB, free: 7.195 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007761/0.3948, allocations: 0.5033 MB / 0.5716 GB, free: 6.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/0.3961, allocations: 0.852 MB / 0.5724 GB, free: 5.637 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.3961, allocations: 0 / 0.5724 GB, free: 5.637 MB / 414.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003433/0.3995, allocations: 1.306 MB / 0.5737 GB, free: 4.312 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.3995, allocations: 8 kB / 0.5737 GB, free: 4.305 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.3995, allocations: 11.94 kB / 0.5737 GB, free: 4.293 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001659/0.4012, allocations: 463.2 kB / 0.5741 GB, free: 3.828 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004953/0.4017, allocations: 119.7 kB / 0.5742 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01155/0.4132, allocations: 8.646 MB / 0.5827 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006041/0.4139, allocations: 31.95 kB / 0.5827 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-05/0.4139, allocations: 35.98 kB / 0.5827 GB, free: 10.58 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.0005053/0.4144, allocations: 305.6 kB / 0.583 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.4146, allocations: 67.61 kB / 0.5831 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003259/0.4178, allocations: 1.146 MB / 0.5842 GB, free: 9.039 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.4178, allocations: 8 kB / 0.5842 GB, free: 9.031 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.4178, allocations: 4 kB / 0.5842 GB, free: 9.027 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.4178, allocations: 0 / 0.5842 GB, free: 9.027 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004726/0.4226, allocations: 1.889 MB / 0.5861 GB, free: 7.082 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.4226, allocations: 0 / 0.5861 GB, free: 7.082 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003399/0.4229, allocations: 63.89 kB / 0.5861 GB, free: 7.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001551/0.4245, allocations: 443.2 kB / 0.5866 GB, free: 6.574 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.017e-05/0.4245, allocations: 15.98 kB / 0.5866 GB, free: 6.559 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01125/0.4358, allocations: 8.399 MB / 0.5948 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.4358, allocations: 4 kB / 0.5948 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00389/0.4397, allocations: 1.688 MB / 0.5964 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003686/0.44, allocations: 119.6 kB / 0.5965 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.235e-05/0.4401, allocations: 15.94 kB / 0.5966 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003828/0.4405, allocations: 23.92 kB / 0.5966 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001951/0.4407, allocations: 56.39 kB / 0.5966 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-05/0.4407, allocations: 16 kB / 0.5966 GB, free: 11.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004465/0.4412, allocations: 315.1 kB / 0.5969 GB, free: 11.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4412, allocations: 0 / 0.5969 GB, free: 11.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001047/0.4422, allocations: 251.9 kB / 0.5972 GB, free: 11.23 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.0003328/0.4426, allocations: 139 kB / 0.5973 GB, free: 11.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002675/0.4452, allocations: 1.329 MB / 0.5986 GB, free: 9.711 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.4452, allocations: 0 / 0.5986 GB, free: 9.711 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001754/0.447, allocations: 0.9701 MB / 0.5996 GB, free: 8.684 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009365/0.4479, allocations: 144.8 kB / 0.5997 GB, free: 8.551 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003313/0.4512, allocations: 1.745 MB / 0.6014 GB, free: 6.754 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006132/0.4519, allocations: 456.6 kB / 0.6018 GB, free: 6.281 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.452, allocations: 47.42 kB / 0.6019 GB, free: 6.234 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.452, allocations: 0 / 0.6019 GB, free: 6.234 MB / 446.1 MB Notification: Performance of Templates: time 0.03318/0.4852, allocations: 24.39 MB / 0.6257 GB, free: 13.84 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.48755700699985] Failed to read output from testmodel.py, exit status != 0: 0.4953444288112223 0.510822915 0.141238095 Calling exit ...