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.001291/0.001291, allocations: 78.56 kB / 19.18 MB, free: 2.52 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.001393/0.001393, allocations: 167.7 kB / 22.45 MB, free: 5.367 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.414/1.414, allocations: 177.2 MB / 202.8 MB, free: 9.152 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.162/1.162, allocations: 154.7 MB / 413.9 MB, free: 5.145 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.443e-06/1.443e-06, allocations: 3.938 kB / 0.6188 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.402e-05, allocations: 7.375 kB / 0.6188 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03936/0.03939, allocations: 30.79 MB / 0.6488 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01868/0.05806, allocations: 10.12 MB / 0.6587 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002923/0.06099, allocations: 202.4 kB / 0.6589 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01083/0.07182, allocations: 3.732 MB / 0.6626 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00643/0.07825, allocations: 1.954 MB / 0.6645 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006295/0.08454, allocations: 2.161 MB / 0.6666 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01094/0.09549, allocations: 7.322 MB / 0.6737 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01072/0.1062, allocations: 5.112 MB / 0.6787 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009276/0.1155, allocations: 4.577 MB / 0.6832 GB, free: 2.246 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005903/0.1214, allocations: 3.219 MB / 0.6863 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001901/0.1233, allocations: 0.6445 MB / 0.687 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004281/0.1276, allocations: 1.669 MB / 0.6886 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00446/0.132, allocations: 2.63 MB / 0.6912 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.005569/0.1376, allocations: 2.008 MB / 0.6931 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.3447/0.4823, allocations: 10.31 MB / 0.7032 GB, free: 35.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4823, allocations: 0 / 0.7032 GB, free: 35.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4823, allocations: 0.75 kB / 0.7032 GB, free: 35.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003079/0.4826, allocations: 0 / 0.7032 GB, free: 35.52 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.01185/0.4945, allocations: 5.045 MB / 0.7081 GB, free: 33.74 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.4945, allocations: 9.844 kB / 0.7081 GB, free: 33.74 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00572/0.5002, allocations: 0.9909 MB / 0.7091 GB, free: 33.46 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006695/0.5069, allocations: 3.007 MB / 0.712 GB, free: 32.84 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001907/0.5071, allocations: 352.4 kB / 0.7124 GB, free: 32.83 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008878/0.508, allocations: 463.9 kB / 0.7128 GB, free: 32.82 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01509/0.5231, allocations: 7.965 MB / 0.7206 GB, free: 31.46 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001509/0.5233, allocations: 25.2 kB / 0.7206 GB, free: 31.46 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005372/0.5238, allocations: 199.6 kB / 0.7208 GB, free: 31.46 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003241/0.5241, allocations: 317.4 kB / 0.7211 GB, free: 31.44 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009933/0.5341, allocations: 5.706 MB / 0.7267 GB, free: 31.39 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03199/0.566, allocations: 21.89 MB / 0.7481 GB, free: 17.55 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002268/0.5683, allocations: 1.554 MB / 0.7496 GB, free: 16.96 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001263/0.5696, allocations: 1.12 MB / 0.7507 GB, free: 16.52 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.693e-05/0.5697, allocations: 12.56 kB / 0.7507 GB, free: 16.52 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.5697, allocations: 47.72 kB / 0.7507 GB, free: 16.47 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=133): time 3.136e-06/0.5697, allocations: 4 kB / 0.7507 GB, free: 16.47 MB / 0.6075 GB Notification: Performance of matching and sorting (n=136): time 0.01195/0.5816, allocations: 6.189 MB / 0.7568 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.5817, allocations: 66.19 kB / 0.7568 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001398/0.5831, allocations: 1.406 MB / 0.7582 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.941e-05/0.5831, allocations: 48.58 kB / 0.7583 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000702/0.5839, allocations: 2.056 MB / 0.7603 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000257/0.5841, allocations: 0.5039 MB / 0.7608 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004095/0.5845, allocations: 355.8 kB / 0.7611 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 3.464e-05/0.5846, allocations: 305.1 kB / 0.7614 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001026/0.5856, allocations: 0.9142 MB / 0.7623 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001177/0.5868, allocations: 1.595 MB / 0.7638 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002362/0.5891, allocations: 2.734 MB / 0.7665 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/0.5891, allocations: 5.844 kB / 0.7665 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.004876/0.594, allocations: 3.503 MB / 0.7699 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.594, allocations: 16.19 kB / 0.77 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/0.594, allocations: 20.53 kB / 0.77 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002203/0.5962, allocations: 0.905 MB / 0.7709 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009939/0.5972, allocations: 350.6 kB / 0.7712 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02024/0.6175, allocations: 21.45 MB / 0.7921 GB, free: 1.723 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001844/0.6193, allocations: 103 kB / 0.7922 GB, free: 1.672 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001504/0.6195, allocations: 87.94 kB / 0.7923 GB, free: 1.652 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.002714/0.6222, allocations: 1.605 MB / 0.7939 GB, free: 0.6875 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003963/0.6226, allocations: 201.2 kB / 0.7941 GB, free: 0.5859 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005525/0.6281, allocations: 2.966 MB / 0.797 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/0.6281, allocations: 16 kB / 0.797 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.99e-05/0.6281, allocations: 8 kB / 0.797 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/0.6282, allocations: 7.969 kB / 0.797 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01298/0.6412, allocations: 5.994 MB / 0.8029 GB, free: 7.641 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/0.6412, allocations: 4 kB / 0.8029 GB, free: 7.637 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008214/0.642, allocations: 182.6 kB / 0.803 GB, free: 7.469 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002571/0.6446, allocations: 0.822 MB / 0.8038 GB, free: 6.613 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/0.6447, allocations: 31.94 kB / 0.8039 GB, free: 6.582 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02177/0.6664, allocations: 20.32 MB / 0.8237 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.6664, allocations: 7.062 kB / 0.8237 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005597/0.672, allocations: 2.993 MB / 0.8266 GB, free: 14.06 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/0.6731, allocations: 383.9 kB / 0.827 GB, free: 13.69 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002175/0.6733, allocations: 28 kB / 0.827 GB, free: 13.66 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007873/0.6741, allocations: 75.91 kB / 0.8271 GB, free: 13.59 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003617/0.6744, allocations: 123.8 kB / 0.8272 GB, free: 13.47 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.752e-05/0.6745, allocations: 43.98 kB / 0.8273 GB, free: 13.43 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001278/0.6758, allocations: 0.8942 MB / 0.8281 GB, free: 12.54 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/0.6758, allocations: 0 / 0.8281 GB, free: 12.54 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002797/0.6786, allocations: 0.7852 MB / 0.8289 GB, free: 11.76 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.0002324/0.6788, allocations: 138.6 kB / 0.829 GB, free: 11.63 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00626/0.6851, allocations: 3.911 MB / 0.8329 GB, free: 7.68 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/0.6851, allocations: 0 / 0.8329 GB, free: 7.68 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00399/0.6891, allocations: 2.66 MB / 0.8355 GB, free: 4.895 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003279/0.6924, allocations: 0.7126 MB / 0.8362 GB, free: 4.23 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01492/0.7073, allocations: 7.33 MB / 0.8433 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003955/0.7112, allocations: 2.568 MB / 0.8458 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001622/0.7129, allocations: 441.3 kB / 0.8462 GB, free: 9.805 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003056/0.7132, allocations: 108.5 kB / 0.8463 GB, free: 9.699 MB / 0.6856 GB Notification: Performance of SimCode: time 7.21e-07/0.7132, allocations: 0 / 0.8463 GB, free: 9.699 MB / 0.6856 GB Notification: Performance of Templates: time 0.06815/0.7813, allocations: 36.4 MB / 0.8819 GB, free: 6.168 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.247559122741222] Failed to read output from testmodel.py, exit status != 0: 0.791039140895009 0.805604376 0.31983673999999995 Calling exit ...