Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.0007273/0.0007273, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007514/0.0007514, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8387/0.8387, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 0.661/0.661, allocations: 154.6 MB / 414.5 MB, free: 0.8281 MB / 378.7 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 179] 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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 0.6193 GB, free: 13.24 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.367e-05/1.492e-05, allocations: 6.281 kB / 0.6193 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01456/0.01457, allocations: 21.82 MB / 0.6406 GB, free: 7.34 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.006856/0.02143, allocations: 6.383 MB / 0.6468 GB, free: 0.9336 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004949/0.02193, allocations: 127.1 kB / 0.647 GB, free: 0.8086 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001585/0.02351, allocations: 1.519 MB / 0.6484 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001661/0.02517, allocations: 1.986 MB / 0.6504 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.0265, allocations: 1.476 MB / 0.6518 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00355/0.03005, allocations: 7.02 MB / 0.6587 GB, free: 4.777 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002876/0.03293, allocations: 3.735 MB / 0.6623 GB, free: 0.9414 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00245/0.03538, allocations: 4.023 MB / 0.6662 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002214/0.03759, allocations: 3.394 MB / 0.6696 GB, free: 9.508 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003533/0.03794, allocations: 0.5273 MB / 0.6701 GB, free: 8.98 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009905/0.03893, allocations: 1.135 MB / 0.6712 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001293/0.04023, allocations: 2.662 MB / 0.6738 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001054/0.04128, allocations: 1.758 MB / 0.6755 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.2399/0.2812, allocations: 8.682 MB / 0.684 GB, free: 64.62 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.2812, allocations: 0 / 0.684 GB, free: 64.62 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2812, allocations: 2.156 kB / 0.684 GB, free: 64.62 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001265/0.2813, allocations: 0 / 0.684 GB, free: 64.62 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.003865/0.2852, allocations: 4.425 MB / 0.6883 GB, free: 62.82 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.2852, allocations: 14.03 kB / 0.6883 GB, free: 62.82 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003704/0.2889, allocations: 1.709 MB / 0.69 GB, free: 62.57 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002386/0.2913, allocations: 2.67 MB / 0.6926 GB, free: 62.02 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.2914, allocations: 276.2 kB / 0.6929 GB, free: 62.01 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000368/0.2918, allocations: 360.9 kB / 0.6932 GB, free: 62 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006071/0.2979, allocations: 7.708 MB / 0.7007 GB, free: 60.96 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.045e-05/0.2979, allocations: 16.89 kB / 0.7007 GB, free: 60.96 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003009/0.2982, allocations: 167.7 kB / 0.7009 GB, free: 60.96 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003059/0.2985, allocations: 487.9 kB / 0.7014 GB, free: 60.95 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004672/0.3032, allocations: 5.698 MB / 0.7069 GB, free: 59.51 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01521/0.3184, allocations: 19.93 MB / 0.7264 GB, free: 47.56 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00185/0.3202, allocations: 2.013 MB / 0.7284 GB, free: 46.79 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001953/0.3222, allocations: 2.102 MB / 0.7304 GB, free: 46.02 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001015/0.3223, allocations: 22.5 kB / 0.7304 GB, free: 46.01 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.3223, allocations: 49.69 kB / 0.7305 GB, free: 45.96 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=146): time 3.166e-06/0.3223, allocations: 0 / 0.7305 GB, free: 45.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=251): time 0.1302/0.4525, allocations: 76.71 MB / 0.8054 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.4525, allocations: 77.41 kB / 0.8055 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/0.4538, allocations: 1.61 MB / 0.807 GB, free: 8.559 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001473/0.454, allocations: 69.7 kB / 0.8071 GB, free: 8.484 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006973/0.4547, allocations: 1.802 MB / 0.8089 GB, free: 6.672 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004778/0.4551, allocations: 0.8812 MB / 0.8097 GB, free: 5.801 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000592/0.4557, allocations: 477.4 kB / 0.8102 GB, free: 5.328 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.477e-05/0.4558, allocations: 312.9 kB / 0.8105 GB, free: 5.023 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002361/0.4582, allocations: 2.73 MB / 0.8131 GB, free: 2.289 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002612/0.4608, allocations: 3.33 MB / 0.8164 GB, free: 14.72 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005283/0.4661, allocations: 6.398 MB / 0.8226 GB, free: 8.152 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.635e-06/0.4661, allocations: 4 kB / 0.8227 GB, free: 8.148 MB / 0.6667 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.01751/0.4836, allocations: 14.4 MB / 0.8367 GB, free: 9.996 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.4836, allocations: 16 kB / 0.8367 GB, free: 9.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/0.4836, allocations: 16 kB / 0.8367 GB, free: 9.965 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01485/0.4985, allocations: 9.191 MB / 0.8457 GB, free: 0.7734 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005473/0.499, allocations: 302.7 kB / 0.846 GB, free: 0.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04462/0.5436, allocations: 50.84 MB / 0.8957 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/0.5448, allocations: 227.7 kB / 0.8959 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001515/0.545, allocations: 102.1 kB / 0.896 GB, free: 12.82 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001866/0.5468, allocations: 1.58 MB / 0.8975 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002558/0.5471, allocations: 254.6 kB / 0.8978 GB, free: 11 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01737/0.5645, allocations: 14.47 MB / 0.9119 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.5645, allocations: 24 kB / 0.9119 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-05/0.5645, allocations: 44 kB / 0.912 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.5645, allocations: 11.95 kB / 0.912 GB, free: 12.49 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02209/0.5866, allocations: 18.94 MB / 0.9305 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.5866, allocations: 4 kB / 0.9305 GB, free: 9.438 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005413/0.5872, allocations: 163.7 kB / 0.9306 GB, free: 9.277 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01468/0.6018, allocations: 8.984 MB / 0.9394 GB, free: 280 kB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001287/0.602, allocations: 48 kB / 0.9394 GB, free: 232 kB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2855/0.8875, allocations: 50.39 MB / 0.9886 GB, free: 265.2 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.8875, allocations: 12.94 kB / 0.9887 GB, free: 265.2 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01742/0.9049, allocations: 14.07 MB / 1.002 GB, free: 264.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001617/0.9065, allocations: 0.775 MB / 1.003 GB, free: 264.4 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003694/0.9069, allocations: 48.58 kB / 1.003 GB, free: 264.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/0.9081, allocations: 211.2 kB / 1.003 GB, free: 264.4 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009328/0.909, allocations: 254.1 kB / 1.004 GB, free: 264.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001294/0.9092, allocations: 65.03 kB / 1.004 GB, free: 264.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0008919/0.91, allocations: 1.063 MB / 1.005 GB, free: 264.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.11e-07/0.91, allocations: 0 / 1.005 GB, free: 264.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003851/0.9139, allocations: 1.619 MB / 1.006 GB, free: 264 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00039/0.9143, allocations: 163.1 kB / 1.006 GB, free: 263.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01378/0.9281, allocations: 10.18 MB / 1.016 GB, free: 260.6 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/0.9281, allocations: 1.188 kB / 1.016 GB, free: 260.6 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.01033/0.9384, allocations: 6.996 MB / 1.023 GB, free: 258.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/0.9405, allocations: 0.5327 MB / 1.024 GB, free: 258.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/0.9526, allocations: 9.526 MB / 1.033 GB, free: 254 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003044/0.9556, allocations: 2.745 MB / 1.036 GB, free: 253.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003647/0.956, allocations: 110.5 kB / 1.036 GB, free: 253.3 MB / 0.823 GB Notification: Performance of SimCode: time 1.362e-06/0.956, allocations: 0 / 1.036 GB, free: 253.3 MB / 0.823 GB Notification: Performance of Templates: time 0.102/1.058, allocations: 189.2 MB / 1.221 GB, free: 78.96 MB / 0.823 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.33643695525825] Failed to read output from testmodel.py, exit status != 0: 1.0638547809794545 1.069455636 0.786789352 Calling exit ...