Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC.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.0008411/0.0008411, allocations: 87.62 kB / 21.43 MB, free: 3.129 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.003494/0.003494, allocations: 163.6 kB / 24.7 MB, free: 9.426 MB / 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 0.9046/0.9046, allocations: 177.1 MB / 205 MB, free: 5.738 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.2406/0.2406, allocations: 29.4 MB / 290.8 MB, free: 2.43 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.BLDC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.BLDC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.815e-05/3.03e-05, allocations: 4.109 kB / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDC): time 0.006456/0.006486, allocations: 6.746 MB / 438.2 MB, free: 6.328 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00381/0.0103, allocations: 2.707 MB / 440.9 MB, free: 3.613 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006035/0.0109, allocations: 35.75 kB / 441 MB, free: 3.578 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.01196, allocations: 373.8 kB / 441.3 MB, free: 3.211 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001669/0.01363, allocations: 0.8238 MB / 442.1 MB, free: 2.383 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006725/0.0143, allocations: 319.4 kB / 442.5 MB, free: 2.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001824/0.01613, allocations: 1.612 MB / 444.1 MB, free: 464 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1723/0.1884, allocations: 1.168 MB / 445.2 MB, free: 44.26 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001186/0.1896, allocations: 0.9225 MB / 446.2 MB, free: 44.26 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009091/0.1905, allocations: 0.6825 MB / 446.8 MB, free: 44.26 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002351/0.1907, allocations: 140.1 kB / 447 MB, free: 44.26 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009075/0.1916, allocations: 0.7049 MB / 447.7 MB, free: 44.26 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000334/0.192, allocations: 0.5275 MB / 448.2 MB, free: 44.26 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004955/0.1925, allocations: 465.7 kB / 448.7 MB, free: 44.26 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001803/0.1943, allocations: 2.186 MB / 450.8 MB, free: 44.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.1943, allocations: 3.875 kB / 450.9 MB, free: 44.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1943, allocations: 5.719 kB / 450.9 MB, free: 44.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.452e-05/0.1943, allocations: 0 / 450.9 MB, free: 44.17 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 271 * Number of variables: 271 Notification: Performance of Generate backend data structure: time 0.002269/0.1966, allocations: 1.489 MB / 452.3 MB, free: 43.51 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.1967, allocations: 13.83 kB / 452.4 MB, free: 43.51 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004601/0.1971, allocations: 184.2 kB / 452.5 MB, free: 43.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000881/0.198, allocations: 0.784 MB / 453.3 MB, free: 43.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/0.1981, allocations: 382.9 kB / 453.7 MB, free: 42.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.1983, allocations: 102.9 kB / 453.8 MB, free: 42.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.1996, allocations: 1.473 MB / 455.3 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.687e-05/0.1996, allocations: 11.33 kB / 455.3 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.824e-05/0.1997, allocations: 41.53 kB / 455.3 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.431e-05/0.1998, allocations: 81.91 kB / 455.4 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/0.201, allocations: 1.266 MB / 456.7 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003833/0.2048, allocations: 4.575 MB / 461.2 MB, free: 39.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008573/0.2057, allocations: 0.8136 MB / 462.1 MB, free: 38.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004236/0.2061, allocations: 464.8 kB / 462.5 MB, free: 38.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/0.2061, allocations: 11.25 kB / 462.5 MB, free: 38.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.2061, allocations: 41.38 kB / 462.6 MB, free: 38.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=74): time 3.206e-06/0.2061, allocations: 0 / 462.6 MB, free: 38.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.003521/0.2097, allocations: 2.946 MB / 465.5 MB, free: 37.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.2097, allocations: 114.5 kB / 465.6 MB, free: 37.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004385/0.2101, allocations: 0.5654 MB / 466.2 MB, free: 36.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.2102, allocations: 37.08 kB / 466.2 MB, free: 36.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.2103, allocations: 0.4956 MB / 466.7 MB, free: 36.31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.2104, allocations: 276 kB / 467 MB, free: 36.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001718/0.2106, allocations: 193 kB / 467.2 MB, free: 36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.047e-05/0.2107, allocations: 375.4 kB / 467.5 MB, free: 35.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003965/0.2111, allocations: 443 kB / 468 MB, free: 35.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004657/0.2115, allocations: 0.7117 MB / 468.7 MB, free: 35 MB / 410.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: bldcm.rotor.w = bldcm.rotor.w_start (loadInertia.w_start = bldcm.rotor.w_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002934/0.2145, allocations: 2.51 MB / 471.2 MB, free: 33.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.2145, allocations: 5.219 kB / 471.2 MB, free: 33.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001302/0.2158, allocations: 1.309 MB / 472.5 MB, free: 33.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.2158, allocations: 9.281 kB / 472.5 MB, free: 33.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.2158, allocations: 8.938 kB / 472.5 MB, free: 33.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001791/0.216, allocations: 86.33 kB / 472.6 MB, free: 33.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004236/0.2164, allocations: 229.8 kB / 472.8 MB, free: 33.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006033/0.217, allocations: 1.322 MB / 474.2 MB, free: 32.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004572/0.2175, allocations: 75.86 kB / 474.2 MB, free: 32.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.354e-05/0.2175, allocations: 38.19 kB / 474.3 MB, free: 32.05 MB / 410.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: bldcm.rotor.w = bldcm.rotor.w_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 7 (system.initime,bldcm.inverter.modulator.gates[6],bldcm.inverter.modulator.gates[5],bldcm.inverter.modulator.gates[4],bldcm.inverter.modulator.gates[3],bldcm.inverter.modulator.gates[2],bldcm.inverter.modulator.gates[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 112 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004895/0.218, allocations: 420.5 kB / 474.7 MB, free: 31.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.2181, allocations: 74.25 kB / 474.8 MB, free: 31.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000966/0.2191, allocations: 0.9752 MB / 475.7 MB, free: 31.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/0.2191, allocations: 20.42 kB / 475.7 MB, free: 31.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2191, allocations: 0 / 475.7 MB, free: 31.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.2191, allocations: 6.766 kB / 475.8 MB, free: 31.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001999/0.2211, allocations: 1.954 MB / 477.7 MB, free: 30.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.2211, allocations: 0 / 477.7 MB, free: 30.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003529/0.2215, allocations: 140.7 kB / 477.8 MB, free: 30.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.426e-05/0.2216, allocations: 31.58 kB / 477.9 MB, free: 30.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.751e-05/0.2216, allocations: 21.38 kB / 477.9 MB, free: 30.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004242/0.222, allocations: 1.25 MB / 479.1 MB, free: 29.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.222, allocations: 0 / 479.1 MB, free: 29.17 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.2233, allocations: 1.639 MB / 480.8 MB, free: 28.37 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002426/0.2236, allocations: 158.2 kB / 480.9 MB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.404e-05/0.2236, allocations: 18.41 kB / 481 MB, free: 28.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.2239, allocations: 52.02 kB / 481 MB, free: 28.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.85e-05/0.224, allocations: 65.77 kB / 481.1 MB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-05/0.224, allocations: 16.34 kB / 481.1 MB, free: 28.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003042/0.2243, allocations: 377.8 kB / 481.5 MB, free: 28.08 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2243, allocations: 0 / 481.5 MB, free: 28.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007579/0.225, allocations: 266.3 kB / 481.7 MB, free: 28.04 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (efficiency.pav,efficiency.qav,bldcm.motor.i_s[1],bldcm.motor.i_s[2],bldcm.motor.i_s[3],loadInertia.w,frictTorq.phi) * Number of discrete variables: 7 (system.initime,bldcm.inverter.modulator.gates[1],bldcm.inverter.modulator.gates[2],bldcm.inverter.modulator.gates[3],bldcm.inverter.modulator.gates[4],bldcm.inverter.modulator.gates[5],bldcm.inverter.modulator.gates[6]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003164/0.2254, allocations: 168.2 kB / 481.9 MB, free: 27.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.2267, allocations: 1.113 MB / 483 MB, free: 27.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2267, allocations: 2.938 kB / 483 MB, free: 27.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005366/0.2272, allocations: 0.576 MB / 483.6 MB, free: 27.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000584/0.2278, allocations: 146.2 kB / 483.7 MB, free: 27.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003009/0.2308, allocations: 2.421 MB / 486.1 MB, free: 25.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/0.2313, allocations: 0.5493 MB / 486.7 MB, free: 25.78 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002236/0.2315, allocations: 78.2 kB / 486.8 MB, free: 25.77 MB / 410.7 MB Notification: Performance of SimCode: time 1.493e-06/0.2315, allocations: 0 / 486.8 MB, free: 25.77 MB / 410.7 MB Notification: Performance of Templates: time 0.02423/0.2557, allocations: 20.22 MB / 0.4951 GB, free: 20.49 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.818798962980509] Failed to read output from testmodel.py, exit status != 0: 0.26226492412388325 0.269036771 0.073221675 Calling exit ...