Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.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.00135/0.00135, allocations: 80.2 kB / 19.18 MB, free: 2.527 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.001524/0.001524, allocations: 173.1 kB / 22.46 MB, free: 5.355 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.474/1.474, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.212/1.212, allocations: 154.6 MB / 413.7 MB, free: 5.301 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.6185 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.773e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04748/0.04751, allocations: 38.34 MB / 0.656 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02699/0.0745, allocations: 15.05 MB / 0.6707 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004094/0.07859, allocations: 250.1 kB / 0.6709 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0132/0.09179, allocations: 4.502 MB / 0.6753 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009703/0.1015, allocations: 3.017 MB / 0.6783 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.009194/0.1107, allocations: 3.217 MB / 0.6814 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01692/0.1276, allocations: 11.65 MB / 0.6928 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01449/0.1421, allocations: 6.744 MB / 0.6994 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3931/0.5352, allocations: 6.876 MB / 0.7061 GB, free: 25.62 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01479/0.55, allocations: 5.089 MB / 0.7111 GB, free: 25.62 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004415/0.5545, allocations: 0.9476 MB / 0.712 GB, free: 25.62 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008318/0.5628, allocations: 1.934 MB / 0.7139 GB, free: 25.62 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00871/0.5715, allocations: 3.951 MB / 0.7177 GB, free: 25.62 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01252/0.584, allocations: 3.033 MB / 0.7207 GB, free: 25.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02501/0.609, allocations: 14.56 MB / 0.7349 GB, free: 24.7 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.609, allocations: 0.5625 kB / 0.7349 GB, free: 24.7 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.563e-06/0.609, allocations: 1.469 kB / 0.7349 GB, free: 24.7 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0006153/0.6096, allocations: 1.281 kB / 0.7349 GB, free: 24.7 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.03506/0.6447, allocations: 7.64 MB / 0.7424 GB, free: 21.11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.6447, allocations: 9.719 kB / 0.7424 GB, free: 21.11 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0142/0.6589, allocations: 1.568 MB / 0.7439 GB, free: 20.41 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01254/0.6715, allocations: 4.381 MB / 0.7482 GB, free: 18.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004989/0.672, allocations: 455.3 kB / 0.7486 GB, free: 18.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003796/0.6758, allocations: 0.5972 MB / 0.7492 GB, free: 18.54 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02967/0.7055, allocations: 11.59 MB / 0.7605 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003856/0.7058, allocations: 29.8 kB / 0.7606 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004502/0.7103, allocations: 263.7 kB / 0.7608 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003098/0.7134, allocations: 0.7797 MB / 0.7616 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02258/0.736, allocations: 8.535 MB / 0.7699 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06698/0.803, allocations: 30.46 MB / 0.7997 GB, free: 9.961 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007514/0.8105, allocations: 3.973 MB / 0.8035 GB, free: 5.977 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006431/0.8169, allocations: 3.356 MB / 0.8068 GB, free: 2.621 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004029/0.8173, allocations: 42.78 kB / 0.8068 GB, free: 2.578 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.807e-05/0.8174, allocations: 73.34 kB / 0.8069 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=353): time 6.302e-06/0.8174, allocations: 0 / 0.8069 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of matching and sorting (n=578): time 0.5653/1.383, allocations: 121.1 MB / 0.9251 GB, free: 9.414 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/1.383, allocations: 115.8 kB / 0.9253 GB, free: 9.285 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004439/1.387, allocations: 2.512 MB / 0.9277 GB, free: 6.77 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.001546/1.389, allocations: 121.7 kB / 0.9278 GB, free: 6.645 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.002382/1.391, allocations: 2.761 MB / 0.9305 GB, free: 3.875 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.003084/1.394, allocations: 2.021 MB / 0.9325 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00212/1.396, allocations: 0.9211 MB / 0.9334 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001413/1.397, allocations: 309.1 kB / 0.9337 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00668/1.403, allocations: 4.079 MB / 0.9377 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007649/1.411, allocations: 5.01 MB / 0.9426 GB, free: 7.234 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01629/1.427, allocations: 9.853 MB / 0.9522 GB, free: 13.1 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.731e-05/1.427, allocations: 4 kB / 0.9522 GB, free: 13.09 MB / 0.795 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04364/1.471, allocations: 16.72 MB / 0.9685 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.746e-05/1.471, allocations: 16 kB / 0.9685 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.026e-05/1.471, allocations: 20 kB / 0.9686 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03466/1.506, allocations: 9.068 MB / 0.9774 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002809/1.508, allocations: 0.5269 MB / 0.9779 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4299/1.938, allocations: 74.23 MB / 1.05 GB, free: 269.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005549/1.944, allocations: 281.5 kB / 1.051 GB, free: 269.7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007937/1.945, allocations: 190.4 kB / 1.051 GB, free: 269.7 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004376/1.949, allocations: 2.421 MB / 1.053 GB, free: 268.6 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001014/1.95, allocations: 475.2 kB / 1.054 GB, free: 268.6 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03526/1.985, allocations: 16.54 MB / 1.07 GB, free: 262 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.783e-05/1.985, allocations: 55.28 kB / 1.07 GB, free: 262 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001497/1.986, allocations: 71.2 kB / 1.07 GB, free: 262 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.521e-05/1.986, allocations: 28.03 kB / 1.07 GB, free: 262 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04771/2.033, allocations: 23.05 MB / 1.092 GB, free: 247.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.874e-05/2.033, allocations: 8 kB / 1.093 GB, free: 247.3 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002074/2.035, allocations: 319.6 kB / 1.093 GB, free: 247.1 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02869/2.064, allocations: 8.25 MB / 1.101 GB, free: 240.7 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001203/2.065, allocations: 112.3 kB / 1.101 GB, free: 240.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08832/2.154, allocations: 71.1 MB / 1.17 GB, free: 169.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/2.154, allocations: 11.94 kB / 1.17 GB, free: 169.3 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04018/2.194, allocations: 21.27 MB / 1.191 GB, free: 147.7 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004234/2.198, allocations: 1.286 MB / 1.192 GB, free: 146.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00172/2.2, allocations: 108 kB / 1.193 GB, free: 146.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004745/2.205, allocations: 291.6 kB / 1.193 GB, free: 146 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002649/2.207, allocations: 0.553 MB / 1.193 GB, free: 145.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006032/2.208, allocations: 144 kB / 1.194 GB, free: 145.3 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002442/2.21, allocations: 1.618 MB / 1.195 GB, free: 143.7 MB / 0.8419 GB Notification: Performance of sort global known variables: time 6e-08/2.21, allocations: 4 kB / 1.195 GB, free: 143.7 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.01083/2.221, allocations: 2.457 MB / 1.197 GB, free: 141.2 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001139/2.222, allocations: 240.8 kB / 1.198 GB, free: 141 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.02387/2.246, allocations: 13.72 MB / 1.211 GB, free: 127.1 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.785e-05/2.246, allocations: 4 kB / 1.211 GB, free: 127.1 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.01729/2.263, allocations: 9.015 MB / 1.22 GB, free: 117.9 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007512/2.271, allocations: 1.299 MB / 1.221 GB, free: 116.7 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.029/2.3, allocations: 15.72 MB / 1.237 GB, free: 100.9 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007546/2.307, allocations: 4.391 MB / 1.241 GB, free: 96.44 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002809/2.31, allocations: 0.7197 MB / 1.242 GB, free: 95.72 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006369/2.311, allocations: 188.5 kB / 1.242 GB, free: 95.54 MB / 0.8419 GB Notification: Performance of SimCode: time 2.354e-06/2.311, allocations: 4 kB / 1.242 GB, free: 95.53 MB / 0.8419 GB Notification: Performance of Templates: time 0.5529/2.864, allocations: 151.5 MB / 1.39 GB, free: 253.1 MB / 0.8419 GB " [Timeout remaining time 657] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.632607229053974] Failed to read output from testmodel.py, exit status != 0: 2.8727697618305683 2.881878505 2.270297067 Calling exit ...