Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.001339/0.001339, allocations: 80.3 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.001485/0.001485, allocations: 159.1 kB / 22.45 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.415/1.415, allocations: 177.2 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.177/1.177, 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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.6186 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.698e-05/2.869e-05, allocations: 7.031 kB / 0.6186 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03931/0.03933, allocations: 31.08 MB / 0.6489 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02679/0.06612, allocations: 14.29 MB / 0.6629 GB, free: 7 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003526/0.06965, allocations: 202.4 kB / 0.6631 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01044/0.08009, allocations: 3.687 MB / 0.6667 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01014/0.09023, allocations: 3.067 MB / 0.6697 GB, free: 20 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007292/0.09752, allocations: 2.369 MB / 0.672 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0139/0.1114, allocations: 9.008 MB / 0.6808 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009931/0.1214, allocations: 5.511 MB / 0.6862 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01064/0.132, allocations: 5.555 MB / 0.6916 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007531/0.1395, allocations: 3.733 MB / 0.6953 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.00174/0.1413, allocations: 0.7188 MB / 0.696 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004316/0.1456, allocations: 1.634 MB / 0.6976 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.003778/0.1494, allocations: 3.024 MB / 0.7005 GB, free: 288 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.3656/0.515, allocations: 2.369 MB / 0.7028 GB, free: 30.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02145/0.5364, allocations: 11.4 MB / 0.714 GB, free: 30.21 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.5365, allocations: 3.375 kB / 0.714 GB, free: 30.21 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5365, allocations: 0 / 0.714 GB, free: 30.21 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0005004/0.537, allocations: 0 / 0.714 GB, free: 30.21 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.02137/0.5583, allocations: 5.998 MB / 0.7198 GB, free: 27.91 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.5584, allocations: 10.31 kB / 0.7198 GB, free: 27.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008238/0.5666, allocations: 1.174 MB / 0.721 GB, free: 27.58 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008711/0.5753, allocations: 3.475 MB / 0.7244 GB, free: 26.81 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003275/0.5757, allocations: 373.4 kB / 0.7247 GB, free: 26.8 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001817/0.5775, allocations: 0.4888 MB / 0.7252 GB, free: 26.79 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01587/0.5933, allocations: 8.862 MB / 0.7339 GB, free: 24.89 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001466/0.5935, allocations: 21.77 kB / 0.7339 GB, free: 24.89 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006509/0.5941, allocations: 219.9 kB / 0.7341 GB, free: 24.88 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001118/0.5953, allocations: 440.8 kB / 0.7345 GB, free: 24.87 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01059/0.6058, allocations: 6.074 MB / 0.7404 GB, free: 23.21 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0273/0.6331, allocations: 21.2 MB / 0.7611 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002187/0.6353, allocations: 1.901 MB / 0.763 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001913/0.6372, allocations: 1.745 MB / 0.7647 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001041/0.6374, allocations: 23.84 kB / 0.7647 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.676e-05/0.6374, allocations: 59.28 kB / 0.7648 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=171): time 4.048e-06/0.6374, allocations: 0 / 0.7648 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of matching and sorting (n=276): time 0.1604/0.7978, allocations: 38.68 MB / 0.8026 GB, free: 8.48 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.878e-05/0.7979, allocations: 77.58 kB / 0.8026 GB, free: 8.391 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003729/0.8017, allocations: 2.035 MB / 0.8046 GB, free: 6.336 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0006171/0.8023, allocations: 73.7 kB / 0.8047 GB, free: 6.258 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001963/0.8042, allocations: 2.346 MB / 0.807 GB, free: 3.895 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.00124/0.8055, allocations: 0.9669 MB / 0.8079 GB, free: 2.945 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001086/0.8066, allocations: 0.5103 MB / 0.8084 GB, free: 2.426 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.8067, allocations: 301.1 kB / 0.8087 GB, free: 2.129 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003142/0.8099, allocations: 1.973 MB / 0.8106 GB, free: 156 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003768/0.8136, allocations: 2.598 MB / 0.8132 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007701/0.8213, allocations: 4.938 MB / 0.818 GB, free: 8.184 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.496e-05/0.8213, allocations: 6.625 kB / 0.818 GB, free: 8.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01622/0.8376, allocations: 7.625 MB / 0.8254 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.4e-05/0.8376, allocations: 12 kB / 0.8255 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.907e-05/0.8376, allocations: 16 kB / 0.8255 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01011/0.8477, allocations: 3.208 MB / 0.8286 GB, free: 13.45 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001901/0.8496, allocations: 403.2 kB / 0.829 GB, free: 13.08 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0498/0.8994, allocations: 32.55 MB / 0.8608 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003557/0.903, allocations: 159.8 kB / 0.8609 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003892/0.9034, allocations: 112 kB / 0.861 GB, free: 11.75 MB / 0.7012 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 (202): * Single equations (assignments): 196 * 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 {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004426/0.9078, allocations: 1.799 MB / 0.8628 GB, free: 9.969 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000893/0.9087, allocations: 318.1 kB / 0.8631 GB, free: 9.656 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01536/0.9241, allocations: 7.234 MB / 0.8702 GB, free: 2.445 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.929e-05/0.9241, allocations: 28 kB / 0.8702 GB, free: 2.418 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.224e-05/0.9241, allocations: 28 kB / 0.8702 GB, free: 2.391 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.558e-05/0.9242, allocations: 11.95 kB / 0.8702 GB, free: 2.379 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02601/0.9502, allocations: 11.39 MB / 0.8813 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.29e-05/0.9502, allocations: 8 kB / 0.8814 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/0.9513, allocations: 224 kB / 0.8816 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009016/0.9603, allocations: 2.853 MB / 0.8844 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003564/0.9607, allocations: 52 kB / 0.8844 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04819/1.009, allocations: 31.37 MB / 0.915 GB, free: 3.996 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/1.009, allocations: 9.688 kB / 0.915 GB, free: 3.988 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01408/1.023, allocations: 6.742 MB / 0.9216 GB, free: 13.15 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002652/1.026, allocations: 0.6954 MB / 0.9223 GB, free: 12.46 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006987/1.026, allocations: 59.94 kB / 0.9224 GB, free: 12.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002034/1.028, allocations: 167.8 kB / 0.9225 GB, free: 12.23 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001062/1.029, allocations: 267.3 kB / 0.9228 GB, free: 11.98 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002128/1.03, allocations: 72 kB / 0.9229 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002351/1.032, allocations: 1.333 MB / 0.9242 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of sort global known variables: time 8e-08/1.032, allocations: 0 / 0.9242 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.004966/1.037, allocations: 1.363 MB / 0.9255 GB, free: 9.207 MB / 0.7637 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 (105): * Single equations (assignments): 99 * 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 {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004624/1.037, allocations: 175 kB / 0.9257 GB, free: 9.035 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01268/1.05, allocations: 6.56 MB / 0.9321 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-05/1.05, allocations: 4 kB / 0.9321 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.009126/1.059, allocations: 4.241 MB / 0.9362 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005882/1.065, allocations: 1.006 MB / 0.9372 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02177/1.087, allocations: 10.32 MB / 0.9473 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004717/1.092, allocations: 3.111 MB / 0.9503 GB, free: 15.72 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002094/1.094, allocations: 0.5251 MB / 0.9508 GB, free: 15.19 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000422/1.094, allocations: 148.5 kB / 0.951 GB, free: 15.05 MB / 0.795 GB Notification: Performance of SimCode: time 1.002e-06/1.094, allocations: 0 / 0.951 GB, free: 15.05 MB / 0.795 GB Notification: Performance of Templates: time 0.4568/1.551, allocations: 75.17 MB / 1.024 GB, free: 294.8 MB / 0.8419 GB " [Timeout remaining time 658] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.173171106725931] Failed to read output from testmodel.py, exit status != 0: 1.5611014850437641 1.573648793 1.034255343 Calling exit ...