Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.001802/0.001802, allocations: 80.22 kB / 19.18 MB, free: 2.516 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.002229/0.002229, allocations: 161.7 kB / 22.46 MB, free: 5.375 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.431/1.431, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 1.193/1.193, allocations: 154.6 MB / 413.8 MB, free: 5.223 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.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(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.6186 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.462e-05/2.648e-05, allocations: 4.672 kB / 0.6186 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03869/0.03872, allocations: 30.81 MB / 0.6487 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01737/0.05609, allocations: 10.12 MB / 0.6586 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002261/0.05835, allocations: 194.6 kB / 0.6588 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.009172/0.06752, allocations: 3.759 MB / 0.6624 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004645/0.07217, allocations: 1.997 MB / 0.6644 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004868/0.07703, allocations: 2.164 MB / 0.6665 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008655/0.08569, allocations: 7.457 MB / 0.6738 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00698/0.09267, allocations: 5.128 MB / 0.6788 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006951/0.09962, allocations: 4.596 MB / 0.6833 GB, free: 2.039 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004974/0.1046, allocations: 3.226 MB / 0.6864 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0009963/0.1056, allocations: 0.6445 MB / 0.6871 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003375/0.109, allocations: 1.68 MB / 0.6887 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002858/0.1118, allocations: 2.728 MB / 0.6914 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002812/0.1146, allocations: 2.004 MB / 0.6933 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.3345/0.4492, allocations: 10.31 MB / 0.7034 GB, free: 35.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.4492, allocations: 0 / 0.7034 GB, free: 35.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4492, allocations: 1.969 kB / 0.7034 GB, free: 35.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003133/0.4495, allocations: 0.875 kB / 0.7034 GB, free: 35.59 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01572/0.4652, allocations: 4.997 MB / 0.7083 GB, free: 33.81 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.4653, allocations: 9.406 kB / 0.7083 GB, free: 33.81 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0062/0.4715, allocations: 0.9937 MB / 0.7093 GB, free: 33.53 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00634/0.4778, allocations: 3.004 MB / 0.7122 GB, free: 32.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000192/0.478, allocations: 346.9 kB / 0.7125 GB, free: 32.89 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008952/0.4789, allocations: 462.5 kB / 0.713 GB, free: 32.89 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.014/0.4929, allocations: 7.969 MB / 0.7207 GB, free: 31.53 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001451/0.493, allocations: 29.19 kB / 0.7208 GB, free: 31.52 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005295/0.4936, allocations: 202.3 kB / 0.721 GB, free: 31.52 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003403/0.4939, allocations: 318.2 kB / 0.7213 GB, free: 31.5 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009271/0.5032, allocations: 5.704 MB / 0.7268 GB, free: 31.45 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02602/0.5292, allocations: 21.88 MB / 0.7482 GB, free: 17.55 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002261/0.5315, allocations: 1.551 MB / 0.7497 GB, free: 16.96 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0012/0.5327, allocations: 1.127 MB / 0.7508 GB, free: 16.52 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.281e-05/0.5327, allocations: 13.38 kB / 0.7508 GB, free: 16.52 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.5328, allocations: 50 kB / 0.7509 GB, free: 16.47 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=133): time 3.596e-06/0.5328, allocations: 0 / 0.7509 GB, free: 16.47 MB / 0.6075 GB Notification: Performance of matching and sorting (n=136): time 0.01228/0.545, allocations: 6.196 MB / 0.7569 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.5451, allocations: 66.09 kB / 0.757 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001543/0.5466, allocations: 1.41 MB / 0.7584 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.383e-05/0.5467, allocations: 44.7 kB / 0.7584 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007419/0.5474, allocations: 2.053 MB / 0.7604 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002463/0.5477, allocations: 0.4939 MB / 0.7609 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004302/0.5481, allocations: 345.9 kB / 0.7612 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 4.172e-05/0.5482, allocations: 305.1 kB / 0.7615 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009847/0.5491, allocations: 0.9139 MB / 0.7624 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/0.5503, allocations: 1.594 MB / 0.764 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002526/0.5528, allocations: 2.736 MB / 0.7666 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/0.5528, allocations: 10.09 kB / 0.7667 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.00505/0.5579, allocations: 3.498 MB / 0.7701 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3e-05/0.5579, allocations: 17.88 kB / 0.7701 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/0.5579, allocations: 23.94 kB / 0.7701 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002292/0.5602, allocations: 0.9081 MB / 0.771 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.5613, allocations: 340.6 kB / 0.7713 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02037/0.5816, allocations: 21.45 MB / 0.7923 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002007/0.5836, allocations: 108.1 kB / 0.7924 GB, free: 1.395 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001562/0.5838, allocations: 86.06 kB / 0.7925 GB, free: 1.379 MB / 0.6231 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002794/0.5866, allocations: 1.604 MB / 0.794 GB, free: 420 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004303/0.587, allocations: 204.9 kB / 0.7942 GB, free: 316 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005702/0.5927, allocations: 2.965 MB / 0.7971 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/0.5927, allocations: 16 kB / 0.7971 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.766e-05/0.5928, allocations: 8 kB / 0.7971 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.595e-05/0.5928, allocations: 7.969 kB / 0.7971 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01174/0.6045, allocations: 6.001 MB / 0.803 GB, free: 7.277 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.6045, allocations: 7.844 kB / 0.803 GB, free: 7.273 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008567/0.6054, allocations: 174.6 kB / 0.8032 GB, free: 7.109 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00259/0.608, allocations: 0.8178 MB / 0.804 GB, free: 6.258 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/0.6081, allocations: 31.94 kB / 0.804 GB, free: 6.227 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02195/0.63, allocations: 20.31 MB / 0.8238 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.63, allocations: 7.406 kB / 0.8238 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005821/0.6358, allocations: 2.995 MB / 0.8268 GB, free: 13.71 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/0.6369, allocations: 385.4 kB / 0.8271 GB, free: 13.34 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002397/0.6372, allocations: 32 kB / 0.8272 GB, free: 13.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009108/0.6381, allocations: 67.91 kB / 0.8272 GB, free: 13.24 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004058/0.6385, allocations: 130.9 kB / 0.8274 GB, free: 13.12 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.313e-05/0.6386, allocations: 36 kB / 0.8274 GB, free: 13.08 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001338/0.6399, allocations: 0.8981 MB / 0.8283 GB, free: 12.19 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6399, allocations: 4 kB / 0.8283 GB, free: 12.19 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002953/0.6429, allocations: 0.7852 MB / 0.829 GB, free: 11.4 MB / 0.67 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002674/0.6431, allocations: 138.7 kB / 0.8292 GB, free: 11.27 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.006512/0.6496, allocations: 3.91 MB / 0.833 GB, free: 7.32 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/0.6496, allocations: 4 kB / 0.833 GB, free: 7.316 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004129/0.6538, allocations: 2.659 MB / 0.8356 GB, free: 4.535 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003348/0.6571, allocations: 0.7097 MB / 0.8363 GB, free: 3.875 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01306/0.6702, allocations: 7.33 MB / 0.8434 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003417/0.6736, allocations: 2.564 MB / 0.8459 GB, free: 9.883 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001271/0.6749, allocations: 445.3 kB / 0.8464 GB, free: 9.445 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003042/0.6752, allocations: 114.6 kB / 0.8465 GB, free: 9.336 MB / 0.6856 GB Notification: Performance of SimCode: time 8.41e-07/0.6752, allocations: 0 / 0.8465 GB, free: 9.336 MB / 0.6856 GB Notification: Performance of Templates: time 0.06569/0.7409, allocations: 36.07 MB / 0.8817 GB, free: 6.137 MB / 0.7169 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.412108510732651] Failed to read output from testmodel.py, exit status != 0: 0.7505516521632671 0.767273581 0.314497956 Calling exit ...