Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001773/0.001773, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 188.4 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.168/1.168, allocations: 177.9 MB / 484.2 MB, free: 5.379 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 67.97 kB / 0.674 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6452/0.6472, allocations: 95.17 MB / 0.7669 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04976/0.697, allocations: 39.76 MB / 0.8058 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0258/0.7228, allocations: 11.41 MB / 0.8169 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006807/0.7296, allocations: 207.2 kB / 0.8171 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0142/0.7438, allocations: 4.562 MB / 0.8216 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01047/0.7543, allocations: 2.331 MB / 0.8238 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.008232/0.7625, allocations: 2.245 MB / 0.826 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01544/0.7779, allocations: 9.282 MB / 0.8351 GB, free: 9.48 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01264/0.7906, allocations: 5.986 MB / 0.8409 GB, free: 5.691 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00945/0.8, allocations: 4.1 MB / 0.845 GB, free: 3.059 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01081/0.8108, allocations: 4.747 MB / 0.8496 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0032/0.814, allocations: 0.8203 MB / 0.8504 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005925/0.82, allocations: 1.615 MB / 0.852 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.005647/0.8256, allocations: 3.238 MB / 0.8551 GB, free: 8.609 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.008573/0.8342, allocations: 3.653 MB / 0.8587 GB, free: 4.941 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01811/0.8523, allocations: 12.34 MB / 0.8708 GB, free: 8.562 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.246e-06/0.8523, allocations: 0 / 0.8708 GB, free: 8.562 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.665e-06/0.8523, allocations: 0 / 0.8708 GB, free: 8.562 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0004185/0.8527, allocations: 3.984 kB / 0.8708 GB, free: 8.559 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01969/0.8724, allocations: 6.399 MB / 0.877 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.8725, allocations: 8.031 kB / 0.877 GB, free: 2.09 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00638/0.8788, allocations: 1.098 MB / 0.8781 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01006/0.8889, allocations: 3.572 MB / 0.8816 GB, free: 13.36 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004284/0.8893, allocations: 419.8 kB / 0.882 GB, free: 12.95 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002347/0.8917, allocations: 0.5433 MB / 0.8825 GB, free: 12.4 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02341/0.9151, allocations: 9.381 MB / 0.8917 GB, free: 2.688 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002354/0.9153, allocations: 23.83 kB / 0.8917 GB, free: 2.664 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001615/0.9169, allocations: 248 kB / 0.8919 GB, free: 2.422 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007626/0.9177, allocations: 414.9 kB / 0.8923 GB, free: 2.016 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0162/0.9339, allocations: 7.123 MB / 0.8993 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05816/0.9921, allocations: 40.7 MB / 0.939 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005458/0.9975, allocations: 2.909 MB / 0.9419 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003543/1.001, allocations: 1.941 MB / 0.9438 GB, free: 9.574 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001719/1.001, allocations: 22 kB / 0.9438 GB, free: 9.551 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.647e-05/1.001, allocations: 60.56 kB / 0.9438 GB, free: 9.484 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=209): time 4.298e-06/1.001, allocations: 0 / 0.9438 GB, free: 9.484 MB / 0.7325 GB Notification: Performance of matching and sorting (n=212): time 0.0269/1.028, allocations: 10.28 MB / 0.9539 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.018e-05/1.028, allocations: 77.34 kB / 0.954 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003603/1.032, allocations: 2.006 MB / 0.9559 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0002369/1.032, allocations: 65.7 kB / 0.956 GB, free: 13 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.00198/1.034, allocations: 2.478 MB / 0.9584 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008388/1.035, allocations: 0.763 MB / 0.9591 GB, free: 9.727 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009193/1.036, allocations: 481.5 kB / 0.9596 GB, free: 9.25 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000138/1.036, allocations: 305.1 kB / 0.9599 GB, free: 8.949 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002289/1.038, allocations: 1.368 MB / 0.9612 GB, free: 7.578 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002919/1.041, allocations: 2.112 MB / 0.9633 GB, free: 5.152 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005859/1.047, allocations: 3.77 MB / 0.967 GB, free: 1.074 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.647e-05/1.047, allocations: 8 kB / 0.967 GB, free: 1.066 MB / 0.7481 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009196/1.056, allocations: 5.027 MB / 0.9719 GB, free: 12.02 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.687e-05/1.056, allocations: 15.94 kB / 0.9719 GB, free: 12 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.675e-05/1.056, allocations: 27.98 kB / 0.9719 GB, free: 11.97 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003872/1.06, allocations: 1.576 MB / 0.9735 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001761/1.062, allocations: 455.2 kB / 0.9739 GB, free: 9.941 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02598/1.088, allocations: 18.17 MB / 0.9916 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003384/1.091, allocations: 147.9 kB / 0.9918 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005213/1.092, allocations: 112 kB / 0.9919 GB, free: 7.066 MB / 0.7794 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004268/1.096, allocations: 1.941 MB / 0.9938 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008891/1.097, allocations: 310.1 kB / 0.9941 GB, free: 4.809 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009067/1.106, allocations: 4.392 MB / 0.9984 GB, free: 392 kB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-05/1.106, allocations: 24 kB / 0.9984 GB, free: 368 kB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.179e-05/1.106, allocations: 16 kB / 0.9984 GB, free: 352 kB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.217e-05/1.106, allocations: 11.97 kB / 0.9984 GB, free: 340 kB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01981/1.126, allocations: 9.593 MB / 1.008 GB, free: 6.598 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/1.126, allocations: 4.562 kB / 1.008 GB, free: 6.594 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/1.127, allocations: 239.6 kB / 1.008 GB, free: 6.359 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003894/1.131, allocations: 1.423 MB / 1.009 GB, free: 4.926 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001936/1.131, allocations: 40 kB / 1.009 GB, free: 4.887 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02779/1.159, allocations: 18.2 MB / 1.027 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/1.159, allocations: 4 kB / 1.027 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00906/1.168, allocations: 4.503 MB / 1.032 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002322/1.17, allocations: 0.5799 MB / 1.032 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003817/1.171, allocations: 43.98 kB / 1.032 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001288/1.172, allocations: 116.1 kB / 1.032 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007161/1.173, allocations: 185.5 kB / 1.033 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001467/1.173, allocations: 64 kB / 1.033 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0024/1.175, allocations: 1.319 MB / 1.034 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9e-08/1.175, allocations: 0 / 1.034 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003934/1.179, allocations: 1.145 MB / 1.035 GB, free: 10.18 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003583/1.18, allocations: 155.1 kB / 1.035 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.008299/1.188, allocations: 4.548 MB / 1.04 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/1.188, allocations: 8.062 kB / 1.04 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.005362/1.193, allocations: 2.788 MB / 1.042 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004893/1.198, allocations: 0.9009 MB / 1.043 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01984/1.218, allocations: 9.554 MB / 1.053 GB, free: 8.043 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005596/1.224, allocations: 3.694 MB / 1.056 GB, free: 4.312 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002203/1.226, allocations: 0.5518 MB / 1.057 GB, free: 3.754 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004567/1.226, allocations: 151.4 kB / 1.057 GB, free: 3.605 MB / 0.8419 GB Notification: Performance of SimCode: time 1.413e-06/1.226, allocations: 0 / 1.057 GB, free: 3.605 MB / 0.8419 GB Notification: Performance of Templates: time 0.553/1.779, allocations: 54.12 MB / 1.11 GB, free: 272.9 MB / 0.8731 GB " [Timeout remaining time 658] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.298771775327623] Failed to read output from testmodel.py, exit status != 0: 1.7896342854946852 1.8021436 0.946697605 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f1f325657b0>