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.004184/0.004184, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001353/0.001353, allocations: 161 kB / 24.56 MB, free: 20 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.034/1.034, allocations: 177.2 MB / 205 MB, free: 5.289 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.2505/0.2505, allocations: 29.41 MB / 290.9 MB, free: 2.477 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.023e-06/2.023e-06, allocations: 0 / 369.6 MB, free: 11.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.237e-05/3.439e-05, allocations: 2.312 kB / 369.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDC): time 0.00937/0.009404, allocations: 6.374 MB / 376 MB, free: 4.621 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004293/0.0137, allocations: 2.813 MB / 378.8 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006247/0.01432, allocations: 39.69 kB / 378.9 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009742/0.0153, allocations: 282.1 kB / 379.1 MB, free: 1.484 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001908/0.0172, allocations: 0.8083 MB / 379.9 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007661/0.01797, allocations: 331.3 kB / 380.3 MB, free: 356 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0018/0.01977, allocations: 1.593 MB / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001314/0.02108, allocations: 1.191 MB / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001138/0.02222, allocations: 0.916 MB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009449/0.02317, allocations: 0.7092 MB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002223/0.02339, allocations: 140 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.02439, allocations: 0.702 MB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003776/0.02477, allocations: 0.53 MB / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00052/0.02529, allocations: 475 kB / 386.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001675/0.02696, allocations: 1.402 MB / 387.9 MB, free: 8.664 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.02697, allocations: 4 kB / 387.9 MB, free: 8.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.02697, allocations: 0 / 387.9 MB, free: 8.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.094e-05/0.027, allocations: 0 / 387.9 MB, free: 8.66 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.002486/0.02949, allocations: 1.605 MB / 389.5 MB, free: 7.012 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/0.02954, allocations: 19.92 kB / 389.5 MB, free: 6.992 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007747/0.03032, allocations: 280 kB / 389.8 MB, free: 6.719 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.03162, allocations: 0.7766 MB / 390.6 MB, free: 5.914 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002388/0.03186, allocations: 385.3 kB / 391 MB, free: 5.469 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.03199, allocations: 112 kB / 391.1 MB, free: 5.359 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/0.03329, allocations: 0.9295 MB / 392 MB, free: 4.344 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.22e-05/0.03332, allocations: 4 kB / 392 MB, free: 4.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.39e-05/0.03338, allocations: 40 kB / 392 MB, free: 4.301 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.198e-05/0.03347, allocations: 73.97 kB / 392.1 MB, free: 4.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008796/0.03435, allocations: 499.4 kB / 392.6 MB, free: 3.742 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004441/0.03879, allocations: 4.791 MB / 397.4 MB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000716/0.03951, allocations: 484.9 kB / 397.9 MB, free: 14.28 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003142/0.03982, allocations: 221 kB / 398.1 MB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.634e-05/0.03987, allocations: 12.66 kB / 398.1 MB, free: 14.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.0399, allocations: 45.98 kB / 398.1 MB, free: 13.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=74): time 3.176e-06/0.03991, allocations: 0 / 398.1 MB, free: 13.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=78): time 0.003024/0.04293, allocations: 1.906 MB / 400.1 MB, free: 12.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/0.04299, allocations: 111.5 kB / 400.2 MB, free: 11.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004721/0.04347, allocations: 0.5609 MB / 400.7 MB, free: 11.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.779e-05/0.0435, allocations: 41.7 kB / 400.8 MB, free: 11.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/0.04376, allocations: 0.5457 MB / 401.3 MB, free: 10.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001695/0.04393, allocations: 285.7 kB / 401.6 MB, free: 10.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001969/0.04413, allocations: 196.4 kB / 401.8 MB, free: 10.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.04431, allocations: 0.5625 MB / 402.3 MB, free: 9.676 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/0.04456, allocations: 161.9 kB / 402.5 MB, free: 9.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004264/0.04499, allocations: 0.5575 MB / 403.1 MB, free: 8.789 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.001252/0.04624, allocations: 1.113 MB / 404.2 MB, free: 7.516 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.04625, allocations: 4 kB / 404.2 MB, free: 7.512 MB / 378.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001081/0.04733, allocations: 0.8107 MB / 405 MB, free: 6.684 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.04735, allocations: 8 kB / 405 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.04737, allocations: 11.98 kB / 405 MB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001873/0.04755, allocations: 59.34 kB / 405.1 MB, free: 6.598 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000467/0.04802, allocations: 215.9 kB / 405.3 MB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009747/0.049, allocations: 1.791 MB / 407.1 MB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000351/0.04935, allocations: 71.88 kB / 407.1 MB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-05/0.04939, allocations: 40 kB / 407.2 MB, free: 4.359 MB / 378.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.0002807/0.04968, allocations: 221.3 kB / 407.4 MB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.04983, allocations: 119.3 kB / 407.5 MB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007286/0.05056, allocations: 0.5434 MB / 408 MB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.812e-05/0.05058, allocations: 16 kB / 408.1 MB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.05058, allocations: 0 / 408.1 MB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.05059, allocations: 7.984 kB / 408.1 MB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00185/0.05244, allocations: 1.494 MB / 409.6 MB, free: 1.895 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.05245, allocations: 3.938 kB / 409.6 MB, free: 1.891 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003599/0.0528, allocations: 135.8 kB / 409.7 MB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.84e-05/0.05289, allocations: 23.62 kB / 409.7 MB, free: 1.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.183e-05/0.05294, allocations: 16.02 kB / 409.7 MB, free: 1.715 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007587/0.05369, allocations: 1.728 MB / 411.5 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.0537, allocations: 4 kB / 411.5 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.0547, allocations: 0.9801 MB / 412.5 MB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002415/0.05494, allocations: 159.4 kB / 412.6 MB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.578e-05/0.055, allocations: 24.11 kB / 412.6 MB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.05522, allocations: 39.95 kB / 412.7 MB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.05536, allocations: 72.47 kB / 412.7 MB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-05/0.05539, allocations: 16 kB / 412.8 MB, free: 14.54 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003091/0.0557, allocations: 338.8 kB / 413.1 MB, free: 14.21 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.0557, allocations: 3.938 kB / 413.1 MB, free: 14.21 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007773/0.05648, allocations: 255.9 kB / 413.3 MB, free: 13.96 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.0003192/0.0568, allocations: 177.5 kB / 413.5 MB, free: 13.78 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009563/0.05775, allocations: 0.7333 MB / 414.2 MB, free: 13.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.05776, allocations: 4 kB / 414.3 MB, free: 13.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003774/0.05814, allocations: 422.4 kB / 414.7 MB, free: 12.59 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005301/0.05867, allocations: 166.5 kB / 414.8 MB, free: 12.43 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003047/0.06171, allocations: 2.032 MB / 416.9 MB, free: 10.34 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.06192, allocations: 279.5 kB / 417.1 MB, free: 10.05 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003734/0.06229, allocations: 189.8 kB / 417.3 MB, free: 9.863 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.06244, allocations: 68.42 kB / 417.4 MB, free: 9.797 MB / 394.7 MB Notification: Performance of SimCode: time 9.12e-07/0.06244, allocations: 0 / 417.4 MB, free: 9.797 MB / 394.7 MB Notification: Performance of Templates: time 0.01392/0.07636, allocations: 9.777 MB / 427.2 MB, free: 140 kB / 394.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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.696414919104427]