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.001168/0.001168, allocations: 83.58 kB / 21.19 MB, free: 3.379 MB / 18.57 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.00122/0.00122, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 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.047/1.047, allocations: 177.1 MB / 205 MB, free: 5.273 MB / 186.7 MB " [Timeout remaining time 179] 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.2553/0.2553, allocations: 29.41 MB / 290.9 MB, free: 2.445 MB / 266.7 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.693e-06/1.693e-06, allocations: 0 / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.381e-05/3.551e-05, allocations: 6.25 kB / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.009109/0.009144, allocations: 6.009 MB / 375.6 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005709/0.01485, allocations: 2.63 MB / 378.3 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007785/0.01563, allocations: 35.69 kB / 378.3 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001367/0.017, allocations: 282.1 kB / 378.6 MB, free: 2.02 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002001/0.019, allocations: 0.6138 MB / 379.2 MB, free: 1.402 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009006/0.0199, allocations: 303.3 kB / 379.5 MB, free: 1.105 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002028/0.02193, allocations: 1.223 MB / 380.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000936/0.02286, allocations: 0.7909 MB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008674/0.02373, allocations: 0.6665 MB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007441/0.02448, allocations: 0.4987 MB / 382.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.02458, allocations: 88 kB / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005385/0.02512, allocations: 355.3 kB / 383.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003321/0.02545, allocations: 355.1 kB / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003246/0.02578, allocations: 327.3 kB / 383.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.02684, allocations: 0.9229 MB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.02685, allocations: 0 / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.02685, allocations: 0 / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.02686, allocations: 0 / 384.7 MB, free: 11.89 MB / 362.7 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.001738/0.0286, allocations: 1.2 MB / 385.9 MB, free: 10.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.743e-05/0.02866, allocations: 15.92 kB / 385.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006637/0.02932, allocations: 204.2 kB / 386.1 MB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009177/0.03024, allocations: 0.6443 MB / 386.8 MB, free: 9.766 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/0.03036, allocations: 110 kB / 386.9 MB, free: 9.645 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003375/0.0307, allocations: 68.12 kB / 386.9 MB, free: 9.578 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008331/0.03153, allocations: 0.6549 MB / 387.6 MB, free: 8.867 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.03155, allocations: 0 / 387.6 MB, free: 8.867 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.444e-05/0.0316, allocations: 35.94 kB / 387.6 MB, free: 8.832 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.158e-05/0.03167, allocations: 53.28 kB / 387.7 MB, free: 8.777 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005682/0.03224, allocations: 347.4 kB / 388 MB, free: 8.438 MB / 362.7 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.003045/0.03528, allocations: 3.589 MB / 391.6 MB, free: 4.672 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004199/0.0357, allocations: 301.3 kB / 391.9 MB, free: 4.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.03591, allocations: 131.1 kB / 392 MB, free: 4.199 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.571e-05/0.03594, allocations: 15.88 kB / 392 MB, free: 4.184 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.03597, allocations: 45.38 kB / 392.1 MB, free: 4.129 MB / 362.7 MB Notification: Performance of pre-optimization done (n=37): time 1.994e-06/0.03598, allocations: 0 / 392.1 MB, free: 4.129 MB / 362.7 MB Notification: Performance of matching and sorting (n=55): time 0.00495/0.04093, allocations: 2.403 MB / 394.5 MB, free: 1.648 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.04098, allocations: 111.3 kB / 394.6 MB, free: 1.516 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003818/0.04136, allocations: 494.4 kB / 395.1 MB, free: 1.012 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.04139, allocations: 41.64 kB / 395.1 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002074/0.0416, allocations: 462.8 kB / 395.6 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.04172, allocations: 206.2 kB / 395.8 MB, free: 308 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.04186, allocations: 140.2 kB / 395.9 MB, free: 160 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.04203, allocations: 0.543 MB / 396.4 MB, free: 15.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.04221, allocations: 117.9 kB / 396.6 MB, free: 15.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003151/0.04253, allocations: 452.8 kB / 397 MB, free: 14.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005657/0.04309, allocations: 0.6125 MB / 397.6 MB, free: 14.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.413e-06/0.0431, allocations: 4 kB / 397.6 MB, free: 14.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00163/0.04473, allocations: 0.9015 MB / 398.5 MB, free: 13.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.04475, allocations: 11.94 kB / 398.5 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.04476, allocations: 8 kB / 398.5 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001283/0.04604, allocations: 477.9 kB / 399 MB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.04629, allocations: 115.8 kB / 399.1 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005883/0.05217, allocations: 8.341 MB / 407.5 MB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002439/0.05241, allocations: 32.02 kB / 407.5 MB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/0.05245, allocations: 35.98 kB / 407.5 MB, free: 3.715 MB / 378.7 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.0001835/0.05263, allocations: 196.4 kB / 407.7 MB, free: 3.512 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.05275, allocations: 79.56 kB / 407.8 MB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001544/0.05429, allocations: 0.7512 MB / 408.6 MB, free: 2.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.0543, allocations: 7.938 kB / 408.6 MB, free: 2.652 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.05431, allocations: 4 kB / 408.6 MB, free: 2.648 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.05431, allocations: 3.984 kB / 408.6 MB, free: 2.645 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002094/0.05641, allocations: 1.475 MB / 410 MB, free: 1.102 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.05641, allocations: 4 kB / 410 MB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.05658, allocations: 67.98 kB / 410.1 MB, free: 1.031 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001109/0.05769, allocations: 466.2 kB / 410.6 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.187e-05/0.05772, allocations: 19.92 kB / 410.6 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005547/0.06327, allocations: 8.273 MB / 418.9 MB, free: 7.766 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.06327, allocations: 7.938 kB / 418.9 MB, free: 7.758 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/0.0649, allocations: 1.172 MB / 420 MB, free: 6.535 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.06506, allocations: 115.6 kB / 420.2 MB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/0.0651, allocations: 12 kB / 420.2 MB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.06528, allocations: 19.98 kB / 420.2 MB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.06539, allocations: 68.25 kB / 420.2 MB, free: 6.324 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/0.06542, allocations: 16 kB / 420.3 MB, free: 6.309 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002224/0.06564, allocations: 307 kB / 420.6 MB, free: 6.008 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.06564, allocations: 0 / 420.6 MB, free: 6.008 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007012/0.06634, allocations: 251.9 kB / 420.8 MB, free: 5.762 MB / 394.7 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.0002662/0.06661, allocations: 145 kB / 421 MB, free: 5.617 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001267/0.06788, allocations: 1.281 MB / 422.2 MB, free: 4.266 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.06788, allocations: 0 / 422.2 MB, free: 4.266 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009967/0.06888, allocations: 1.08 MB / 423.3 MB, free: 3.109 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005259/0.0694, allocations: 141.3 kB / 423.5 MB, free: 2.977 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.07153, allocations: 1.457 MB / 424.9 MB, free: 1.457 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001746/0.0717, allocations: 243.5 kB / 425.1 MB, free: 1.199 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001811/0.07188, allocations: 93.12 kB / 425.2 MB, free: 1.105 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.365e-05/0.07197, allocations: 48.48 kB / 425.3 MB, free: 1.059 MB / 394.7 MB Notification: Performance of SimCode: time 6.11e-07/0.07197, allocations: 0 / 425.3 MB, free: 1.059 MB / 394.7 MB Notification: Performance of Templates: time 0.01636/0.08832, allocations: 14.03 MB / 439.3 MB, free: 3.168 MB / 410.7 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.753244886174798]