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.001955/0.001955, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.00233/0.00233, allocations: 161.7 kB / 24.27 MB, free: 172 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.562/1.562, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 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.2965/0.2965, allocations: 29.42 MB / 290.5 MB, free: 2.434 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 1.953e-06/1.953e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.76e-05/2.956e-05, allocations: 2.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDC): time 0.01064/0.01067, allocations: 6.762 MB / 375.6 MB, free: 4.523 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005673/0.01635, allocations: 2.706 MB / 378.3 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004905/0.01684, allocations: 31.75 kB / 378.4 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001281/0.01812, allocations: 377.7 kB / 378.7 MB, free: 1.41 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002027/0.02015, allocations: 0.8161 MB / 379.6 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008024/0.02095, allocations: 327.3 kB / 379.9 MB, free: 276 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002246/0.02319, allocations: 1.616 MB / 381.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001581/0.02478, allocations: 1.187 MB / 382.7 MB, free: 13.44 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001281/0.02606, allocations: 0.912 MB / 383.6 MB, free: 12.52 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/0.02714, allocations: 0.6936 MB / 384.3 MB, free: 11.83 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002038/0.02734, allocations: 140 kB / 384.4 MB, free: 11.69 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00119/0.02853, allocations: 0.6981 MB / 385.1 MB, free: 10.99 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000593/0.02912, allocations: 0.5222 MB / 385.6 MB, free: 10.47 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006271/0.02975, allocations: 475 kB / 386.1 MB, free: 10 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002881/0.03263, allocations: 2.189 MB / 388.3 MB, free: 7.809 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.03264, allocations: 4 kB / 388.3 MB, free: 7.805 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.03264, allocations: 3.938 kB / 388.3 MB, free: 7.801 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.014e-05/0.03267, allocations: 0 / 388.3 MB, free: 7.801 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: 271 * Number of variables: 271 Notification: Performance of Generate backend data structure: time 0.003415/0.03609, allocations: 1.493 MB / 389.8 MB, free: 6.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.03613, allocations: 11.98 kB / 389.8 MB, free: 6.258 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009465/0.03707, allocations: 280 kB / 390.1 MB, free: 5.984 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001637/0.03871, allocations: 0.8168 MB / 390.9 MB, free: 5.141 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003835/0.03909, allocations: 385.3 kB / 391.3 MB, free: 4.695 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002003/0.03929, allocations: 104.1 kB / 391.4 MB, free: 4.594 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002669/0.04196, allocations: 1.469 MB / 392.9 MB, free: 3.059 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.246e-05/0.04199, allocations: 0 / 392.9 MB, free: 3.059 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/0.04212, allocations: 47.98 kB / 392.9 MB, free: 3.012 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000146/0.04226, allocations: 73.97 kB / 393 MB, free: 2.941 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00244/0.0447, allocations: 1.269 MB / 394.2 MB, free: 1.672 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008131/0.05283, allocations: 4.621 MB / 398.9 MB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/0.05456, allocations: 0.8157 MB / 399.7 MB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009044/0.05546, allocations: 460.4 kB / 400.1 MB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.586e-05/0.05553, allocations: 16.64 kB / 400.1 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.802e-05/0.05558, allocations: 47.22 kB / 400.2 MB, free: 11.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=74): time 2.916e-06/0.05558, allocations: 0 / 400.2 MB, free: 11.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=78): time 0.007514/0.0631, allocations: 2.972 MB / 403.2 MB, free: 8.535 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.0632, allocations: 111.5 kB / 403.3 MB, free: 8.402 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009102/0.06411, allocations: 0.565 MB / 403.8 MB, free: 7.828 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.066e-05/0.06418, allocations: 37.7 kB / 403.9 MB, free: 7.785 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004646/0.06465, allocations: 0.4962 MB / 404.4 MB, free: 7.281 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003102/0.06496, allocations: 277.7 kB / 404.6 MB, free: 7.008 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003457/0.0653, allocations: 186.5 kB / 404.8 MB, free: 6.816 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002715/0.06557, allocations: 382.8 kB / 405.2 MB, free: 6.434 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008346/0.06641, allocations: 441.8 kB / 405.6 MB, free: 6.004 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.06757, allocations: 0.7204 MB / 406.3 MB, free: 5.156 MB / 378.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.00649/0.07406, allocations: 2.508 MB / 408.9 MB, free: 2.531 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.07406, allocations: 0 / 408.9 MB, free: 2.531 MB / 378.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002911/0.07698, allocations: 1.352 MB / 410.2 MB, free: 1.164 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/0.07701, allocations: 8 kB / 410.2 MB, free: 1.156 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.49e-05/0.07703, allocations: 12 kB / 410.2 MB, free: 1.145 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003394/0.07737, allocations: 81.67 kB / 410.3 MB, free: 1.059 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000948/0.07832, allocations: 235.5 kB / 410.5 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/0.07982, allocations: 1.323 MB / 411.9 MB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007784/0.0806, allocations: 75.88 kB / 411.9 MB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.952e-05/0.0807, allocations: 36 kB / 412 MB, free: 15.29 MB / 394.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.0007816/0.08148, allocations: 421.4 kB / 412.4 MB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000317/0.0818, allocations: 111.5 kB / 412.5 MB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002076/0.08387, allocations: 0.9741 MB / 413.5 MB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.049e-05/0.0839, allocations: 15.98 kB / 413.5 MB, free: 13.76 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.08391, allocations: 4 kB / 413.5 MB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.08393, allocations: 3.984 kB / 413.5 MB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004305/0.08823, allocations: 1.958 MB / 415.4 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.08824, allocations: 3.938 kB / 415.4 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007962/0.08904, allocations: 139.8 kB / 415.6 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001367/0.08917, allocations: 28.78 kB / 415.6 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.978e-05/0.08925, allocations: 12 kB / 415.6 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001461/0.09071, allocations: 1.256 MB / 416.9 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.09072, allocations: 0 / 416.9 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002956/0.09367, allocations: 1.678 MB / 418.6 MB, free: 8.508 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004343/0.09411, allocations: 159.7 kB / 418.7 MB, free: 8.352 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/0.09425, allocations: 19.94 kB / 418.7 MB, free: 8.332 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005386/0.09479, allocations: 47.94 kB / 418.8 MB, free: 8.285 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001936/0.09498, allocations: 60.48 kB / 418.8 MB, free: 8.223 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.802e-05/0.09504, allocations: 23.98 kB / 418.9 MB, free: 8.199 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006116/0.09565, allocations: 374.8 kB / 419.2 MB, free: 7.836 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.09565, allocations: 0 / 419.2 MB, free: 7.836 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001066/0.09672, allocations: 259.9 kB / 419.5 MB, free: 7.582 MB / 394.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.0004388/0.09715, allocations: 170.1 kB / 419.6 MB, free: 7.414 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002297/0.09945, allocations: 1.123 MB / 420.8 MB, free: 6.273 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.09945, allocations: 0 / 420.8 MB, free: 6.273 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001132/0.1006, allocations: 0.5802 MB / 421.4 MB, free: 5.684 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.1016, allocations: 159.5 kB / 421.5 MB, free: 5.527 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005206/0.1068, allocations: 2.366 MB / 423.9 MB, free: 3.113 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008336/0.1076, allocations: 0.5591 MB / 424.4 MB, free: 2.523 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007315/0.1084, allocations: 233.8 kB / 424.7 MB, free: 2.293 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002587/0.1086, allocations: 68.48 kB / 424.7 MB, free: 2.227 MB / 394.7 MB Notification: Performance of SimCode: time 1.302e-06/0.1086, allocations: 0 / 424.7 MB, free: 2.227 MB / 394.7 MB Notification: Performance of Templates: time 0.02113/0.1298, allocations: 9.764 MB / 434.5 MB, free: 8.59 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: 5.456089589977637]