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.001436/0.001436, allocations: 83.59 kB / 20.68 MB, free: 1.035 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.001519/0.001519, allocations: 168.2 kB / 23.96 MB, free: 4.16 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.508/1.508, allocations: 177.1 MB / 204.3 MB, free: 9.207 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.1791/0.1791, allocations: 29.43 MB / 290.1 MB, free: 3.305 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: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 430.7 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.365e-05/3.537e-05, allocations: 5.797 kB / 430.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.009914/0.00995, allocations: 6.068 MB / 436.8 MB, free: 11.87 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005179/0.01513, allocations: 2.512 MB / 439.3 MB, free: 9.348 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006788/0.01581, allocations: 43.69 kB / 439.3 MB, free: 9.305 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0015/0.01731, allocations: 329.9 kB / 439.7 MB, free: 8.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001864/0.01917, allocations: 0.6216 MB / 440.3 MB, free: 8.355 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008581/0.02003, allocations: 299.4 kB / 440.6 MB, free: 8.062 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001999/0.02203, allocations: 1.231 MB / 441.8 MB, free: 6.828 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001608/0.02364, allocations: 0.7672 MB / 442.6 MB, free: 6.059 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001569/0.02521, allocations: 0.6741 MB / 443.2 MB, free: 5.383 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001227/0.02643, allocations: 0.4909 MB / 443.7 MB, free: 4.891 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002803/0.02671, allocations: 88 kB / 443.8 MB, free: 4.805 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.02773, allocations: 351.4 kB / 444.2 MB, free: 4.461 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000556/0.02829, allocations: 351.1 kB / 444.5 MB, free: 4.117 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006847/0.02897, allocations: 311.3 kB / 444.8 MB, free: 3.812 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002517/0.03149, allocations: 1.398 MB / 446.2 MB, free: 2.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.0315, allocations: 4 kB / 446.2 MB, free: 2.406 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.786e-06/0.0315, allocations: 0 / 446.2 MB, free: 2.406 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.038e-05/0.03156, allocations: 0 / 446.2 MB, free: 2.406 MB / 366.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.003842/0.0354, allocations: 1.091 MB / 447.3 MB, free: 1.281 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.03545, allocations: 15.98 kB / 447.3 MB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008897/0.03634, allocations: 144.3 kB / 447.5 MB, free: 1.125 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001635/0.03798, allocations: 0.6259 MB / 448.1 MB, free: 484 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002007/0.03818, allocations: 106 kB / 448.2 MB, free: 364 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002189/0.0384, allocations: 76.08 kB / 448.3 MB, free: 288 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2154/0.2538, allocations: 0.9525 MB / 449.2 MB, free: 30.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.51e-05/0.2539, allocations: 4.781 kB / 449.2 MB, free: 30.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.394e-05/0.254, allocations: 27.41 kB / 449.2 MB, free: 30.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001391/0.2541, allocations: 62.22 kB / 449.3 MB, free: 30.13 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/0.2554, allocations: 0.7804 MB / 450.1 MB, free: 29.86 MB / 366.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.004244/0.2597, allocations: 3.284 MB / 453.4 MB, free: 27.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007769/0.2605, allocations: 417.1 kB / 453.8 MB, free: 27.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004446/0.2609, allocations: 235.4 kB / 454 MB, free: 27.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.035e-05/0.261, allocations: 4.906 kB / 454 MB, free: 27.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.261, allocations: 42.84 kB / 454.1 MB, free: 27.31 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 2.174e-06/0.261, allocations: 0 / 454.1 MB, free: 27.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=55): time 0.01085/0.2718, allocations: 3.396 MB / 457.5 MB, free: 25.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.2719, allocations: 110.3 kB / 457.6 MB, free: 25.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006356/0.2725, allocations: 484 kB / 458 MB, free: 25.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.286e-05/0.2726, allocations: 34.05 kB / 458.1 MB, free: 25.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002305/0.2728, allocations: 405.8 kB / 458.5 MB, free: 25.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.2729, allocations: 198.7 kB / 458.7 MB, free: 24.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002097/0.2731, allocations: 130.8 kB / 458.8 MB, free: 24.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.2732, allocations: 365.2 kB / 459.1 MB, free: 24.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005003/0.2737, allocations: 281.8 kB / 459.4 MB, free: 24.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006041/0.2743, allocations: 0.5032 MB / 459.9 MB, free: 24.08 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.2755, allocations: 0.8535 MB / 460.8 MB, free: 23.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.2755, allocations: 1.406 kB / 460.8 MB, free: 23.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003556/0.279, allocations: 1.31 MB / 462.1 MB, free: 22.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.2791, allocations: 7.531 kB / 462.1 MB, free: 22.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/0.2791, allocations: 8.203 kB / 462.1 MB, free: 22.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001807/0.2809, allocations: 461.8 kB / 462.6 MB, free: 22.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004754/0.2814, allocations: 117.8 kB / 462.7 MB, free: 22.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01005/0.2914, allocations: 8.637 MB / 471.3 MB, free: 16.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006986/0.2921, allocations: 27.05 kB / 471.3 MB, free: 16.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.865e-05/0.2922, allocations: 34.2 kB / 471.4 MB, free: 16.25 MB / 366.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.0005322/0.2927, allocations: 315.1 kB / 471.7 MB, free: 16.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.2928, allocations: 58.86 kB / 471.7 MB, free: 16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003209/0.2961, allocations: 1.147 MB / 472.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.2961, allocations: 11.34 kB / 472.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.2961, allocations: 3.531 kB / 472.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.2961, allocations: 4.172 kB / 472.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004227/0.3003, allocations: 1.892 MB / 474.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.3003, allocations: 5.125 kB / 474.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003378/0.3007, allocations: 65.77 kB / 474.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001507/0.3022, allocations: 453.7 kB / 475.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.56e-05/0.3022, allocations: 15.47 kB / 475.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008569/0.3108, allocations: 8.376 MB / 483.7 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3108, allocations: 2.906 kB / 483.7 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003391/0.3142, allocations: 1.691 MB / 485.4 MB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002527/0.3144, allocations: 119.5 kB / 485.5 MB, free: 5.953 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.084e-05/0.3145, allocations: 12 kB / 485.5 MB, free: 5.941 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003967/0.3149, allocations: 23.92 kB / 485.5 MB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001978/0.3151, allocations: 60.33 kB / 485.6 MB, free: 5.855 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.993e-05/0.3151, allocations: 16 kB / 485.6 MB, free: 5.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003673/0.3155, allocations: 319.1 kB / 485.9 MB, free: 5.527 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3155, allocations: 64 / 485.9 MB, free: 5.527 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001226/0.3167, allocations: 263.9 kB / 486.2 MB, free: 5.27 MB / 366.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.0003485/0.3171, allocations: 127 kB / 486.3 MB, free: 5.141 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002374/0.3195, allocations: 1.328 MB / 487.6 MB, free: 3.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.3195, allocations: 0 / 487.6 MB, free: 3.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001507/0.321, allocations: 0.9642 MB / 488.6 MB, free: 2.754 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009029/0.3219, allocations: 144.5 kB / 488.7 MB, free: 2.617 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002473/0.3243, allocations: 1.617 MB / 490.4 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.3247, allocations: 456.7 kB / 490.8 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002831/0.325, allocations: 105.2 kB / 490.9 MB, free: 400 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.3251, allocations: 40.5 kB / 490.9 MB, free: 360 kB / 366.1 MB Notification: Performance of SimCode: time 1.222e-06/0.3251, allocations: 0 / 490.9 MB, free: 360 kB / 366.1 MB Notification: Performance of Templates: time 0.02639/0.3515, allocations: 13.7 MB / 0.4928 GB, free: 2.812 MB / 382.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: 5.518215324729681] Failed to read output from testmodel.py, exit status != 0: 0.36168231070041656 0.375932405 0.34107796100000004 Calling exit ...