Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.001288/0.001288, allocations: 82.48 kB / 19.18 MB, free: 2.363 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.001354/0.001354, allocations: 170 kB / 22.46 MB, free: 4.984 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.394/1.394, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 179] 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.15/1.15, allocations: 154.7 MB / 413.9 MB, free: 5.172 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_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.6188 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.425e-05/2.575e-05, allocations: 3.25 kB / 0.6188 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04399/0.04401, allocations: 35.62 MB / 0.6535 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0253/0.06932, allocations: 10.95 MB / 0.6642 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004545/0.07386, allocations: 206.5 kB / 0.6644 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01251/0.08637, allocations: 4.381 MB / 0.6687 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007213/0.09358, allocations: 2.338 MB / 0.671 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006268/0.09985, allocations: 2.185 MB / 0.6731 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0131/0.113, allocations: 9.288 MB / 0.6822 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01386/0.1268, allocations: 6.35 MB / 0.6884 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01286/0.1397, allocations: 5.75 MB / 0.694 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008908/0.1486, allocations: 4.17 MB / 0.6981 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002754/0.1513, allocations: 0.8242 MB / 0.6989 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004599/0.1559, allocations: 1.51 MB / 0.7004 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.346/0.5019, allocations: 3.245 MB / 0.7035 GB, free: 33.11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01038/0.5123, allocations: 2.564 MB / 0.706 GB, free: 33.03 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02285/0.5351, allocations: 12.56 MB / 0.7183 GB, free: 32.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/0.5352, allocations: 1.875 kB / 0.7183 GB, free: 32.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.205e-06/0.5352, allocations: 0 / 0.7183 GB, free: 32.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0005601/0.5357, allocations: 0.8125 kB / 0.7183 GB, free: 32.43 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02693/0.5626, allocations: 6.391 MB / 0.7246 GB, free: 30.13 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.5627, allocations: 9.438 kB / 0.7246 GB, free: 30.13 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008647/0.5713, allocations: 1.105 MB / 0.7256 GB, free: 29.79 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01165/0.583, allocations: 3.581 MB / 0.7291 GB, free: 29.05 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005702/0.5836, allocations: 426.3 kB / 0.7296 GB, free: 29.04 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004411/0.588, allocations: 0.5393 MB / 0.7301 GB, free: 29.04 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03599/0.624, allocations: 10.28 MB / 0.7401 GB, free: 26 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003285/0.6243, allocations: 22.7 kB / 0.7401 GB, free: 26 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003257/0.6276, allocations: 249.8 kB / 0.7404 GB, free: 25.83 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007925/0.6284, allocations: 426.7 kB / 0.7408 GB, free: 25.77 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02019/0.6485, allocations: 7.12 MB / 0.7477 GB, free: 22.37 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0421/0.6906, allocations: 25.32 MB / 0.7725 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003846/0.6945, allocations: 2.903 MB / 0.7753 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002301/0.6968, allocations: 1.927 MB / 0.7772 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001177/0.6969, allocations: 25.56 kB / 0.7772 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.789e-05/0.697, allocations: 66.73 kB / 0.7773 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=209): time 4.027e-06/0.697, allocations: 0 / 0.7773 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of matching and sorting (n=212): time 0.0249/0.7219, allocations: 10.26 MB / 0.7873 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.396e-05/0.7219, allocations: 73.41 kB / 0.7874 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003113/0.725, allocations: 1.836 MB / 0.7891 GB, free: 8.961 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0003396/0.7254, allocations: 61.7 kB / 0.7892 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.002046/0.7274, allocations: 2.475 MB / 0.7916 GB, free: 6.406 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009942/0.7284, allocations: 0.7751 MB / 0.7924 GB, free: 5.641 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008598/0.7293, allocations: 477.5 kB / 0.7928 GB, free: 5.168 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.7294, allocations: 305.1 kB / 0.7931 GB, free: 4.867 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002232/0.7316, allocations: 1.376 MB / 0.7945 GB, free: 3.488 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002916/0.7346, allocations: 2.11 MB / 0.7965 GB, free: 1.074 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005651/0.7402, allocations: 3.765 MB / 0.8002 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.444e-05/0.7402, allocations: 8 kB / 0.8002 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009196/0.7494, allocations: 5.005 MB / 0.8051 GB, free: 8.242 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.234e-05/0.7495, allocations: 16 kB / 0.8051 GB, free: 8.227 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-05/0.7495, allocations: 20 kB / 0.8051 GB, free: 8.207 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00379/0.7533, allocations: 1.589 MB / 0.8067 GB, free: 6.617 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001771/0.7551, allocations: 454.6 kB / 0.8071 GB, free: 6.203 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02395/0.779, allocations: 17.77 MB / 0.8245 GB, free: 4.082 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00269/0.7817, allocations: 147.9 kB / 0.8246 GB, free: 3.938 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002697/0.782, allocations: 104.1 kB / 0.8247 GB, free: 3.836 MB / 0.6544 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.003939/0.7859, allocations: 1.945 MB / 0.8266 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007333/0.7866, allocations: 286.2 kB / 0.8269 GB, free: 1.629 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007591/0.7942, allocations: 4.393 MB / 0.8312 GB, free: 13.26 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-05/0.7943, allocations: 20 kB / 0.8312 GB, free: 13.24 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.962e-05/0.7943, allocations: 19.94 kB / 0.8312 GB, free: 13.22 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.8e-05/0.7943, allocations: 7.969 kB / 0.8312 GB, free: 13.21 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01604/0.8103, allocations: 8.352 MB / 0.8394 GB, free: 4.871 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/0.8104, allocations: 4 kB / 0.8394 GB, free: 4.867 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.8114, allocations: 234.2 kB / 0.8396 GB, free: 4.648 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00349/0.8149, allocations: 1.424 MB / 0.841 GB, free: 3.219 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001602/0.815, allocations: 44 kB / 0.841 GB, free: 3.176 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02491/0.8399, allocations: 17.79 MB / 0.8584 GB, free: 1.031 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.8399, allocations: 4 kB / 0.8584 GB, free: 1.027 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008097/0.848, allocations: 4.47 MB / 0.8628 GB, free: 12.53 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001917/0.85, allocations: 0.5519 MB / 0.8633 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005771/0.8505, allocations: 39.95 kB / 0.8634 GB, free: 11.94 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/0.8519, allocations: 119.9 kB / 0.8635 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000592/0.8525, allocations: 195.8 kB / 0.8637 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001456/0.8526, allocations: 56 kB / 0.8637 GB, free: 11.58 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001827/0.8544, allocations: 1.168 MB / 0.8649 GB, free: 10.4 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1e-07/0.8544, allocations: 7.938 kB / 0.8649 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.004048/0.8585, allocations: 1.133 MB / 0.866 GB, free: 9.258 MB / 0.7012 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.0003464/0.8588, allocations: 160.8 kB / 0.8661 GB, free: 9.102 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.007746/0.8666, allocations: 4.534 MB / 0.8705 GB, free: 4.645 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-05/0.8666, allocations: 4 kB / 0.8706 GB, free: 4.641 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.005084/0.8717, allocations: 2.792 MB / 0.8733 GB, free: 1.828 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004226/0.8759, allocations: 0.8201 MB / 0.8741 GB, free: 1.035 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02007/0.896, allocations: 9.524 MB / 0.8834 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005183/0.9012, allocations: 3.158 MB / 0.8865 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00237/0.9035, allocations: 0.5265 MB / 0.887 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000416/0.9039, allocations: 148.5 kB / 0.8871 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of SimCode: time 1.402e-06/0.9039, allocations: 4 kB / 0.8871 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of Templates: time 0.09371/0.9977, allocations: 52.41 MB / 0.9383 GB, free: 288 kB / 0.7637 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.862093051895499] Failed to read output from testmodel.py, exit status != 0: 1.0071024615317583 1.020759189 0.48238884899999995 Calling exit ...