Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.0008364/0.0008364, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 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.0009302/0.0009302, allocations: 177.9 kB / 23.22 MB, free: 1.352 MB / 18.57 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 0.8783/0.8783, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 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 0.6938/0.6938, allocations: 154.6 MB / 414.5 MB, free: 0.8125 MB / 378.7 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 179] 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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.099e-05/2.244e-05, allocations: 4.531 kB / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01091/0.01094, allocations: 13.72 MB / 0.6327 GB, free: 15.42 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0101/0.02104, allocations: 9.83 MB / 0.6423 GB, free: 5.559 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009864/0.02202, allocations: 75.31 kB / 0.6424 GB, free: 5.484 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002083/0.02411, allocations: 1.687 MB / 0.644 GB, free: 3.789 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003445/0.02755, allocations: 1.903 MB / 0.6459 GB, free: 1.883 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001377/0.02893, allocations: 0.7714 MB / 0.6467 GB, free: 1.109 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002376/0.0313, allocations: 2.838 MB / 0.6494 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001363/0.03267, allocations: 1.196 MB / 0.6506 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001806/0.03447, allocations: 1.996 MB / 0.6526 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001432/0.0359, allocations: 0.9816 MB / 0.6535 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001836/0.03609, allocations: 160 kB / 0.6537 GB, free: 9.891 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009419/0.03703, allocations: 0.7443 MB / 0.6544 GB, free: 9.145 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003595/0.03739, allocations: 0.6386 MB / 0.655 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0004396/0.03783, allocations: 0.6507 MB / 0.6556 GB, free: 7.852 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001895/0.03972, allocations: 2.808 MB / 0.6584 GB, free: 5.035 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.03973, allocations: 0 / 0.6584 GB, free: 5.035 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.505e-06/0.03973, allocations: 0 / 0.6584 GB, free: 5.035 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.481e-05/0.03974, allocations: 0 / 0.6584 GB, free: 5.035 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002664/0.04241, allocations: 2.124 MB / 0.6605 GB, free: 2.871 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.04246, allocations: 12.03 kB / 0.6605 GB, free: 2.859 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00548/0.04794, allocations: 2.121 MB / 0.6625 GB, free: 0.7344 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/0.04936, allocations: 1.222 MB / 0.6637 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.377e-05/0.0494, allocations: 90.67 kB / 0.6638 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001671/0.04957, allocations: 120.3 kB / 0.6639 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00348/0.05305, allocations: 3.079 MB / 0.6669 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/0.05308, allocations: 7.938 kB / 0.667 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.05319, allocations: 63.91 kB / 0.667 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003103/0.0535, allocations: 190.1 kB / 0.6672 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003874/0.05738, allocations: 2.783 MB / 0.6699 GB, free: 8.879 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007778/0.06515, allocations: 8.118 MB / 0.6778 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2686/0.3338, allocations: 2.175 MB / 0.68 GB, free: 96.84 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00157/0.3354, allocations: 1.205 MB / 0.6811 GB, free: 96.58 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.001e-05/0.3354, allocations: 9.312 kB / 0.6812 GB, free: 96.58 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.3354, allocations: 43.48 kB / 0.6812 GB, free: 96.53 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=89): time 4.479e-06/0.3354, allocations: 2.812 kB / 0.6812 GB, free: 96.53 MB / 0.6355 GB Notification: Performance of matching and sorting (n=153): time 0.02704/0.3625, allocations: 15.99 MB / 0.6968 GB, free: 93.55 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.3625, allocations: 69.84 kB / 0.6969 GB, free: 93.49 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000785/0.3633, allocations: 1.036 MB / 0.6979 GB, free: 93.08 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.102e-05/0.3634, allocations: 50.92 kB / 0.6979 GB, free: 93.03 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002718/0.3637, allocations: 0.7579 MB / 0.6987 GB, free: 92.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002425/0.3639, allocations: 0.5333 MB / 0.6992 GB, free: 92.15 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003213/0.3642, allocations: 288.4 kB / 0.6995 GB, free: 92.03 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.685e-05/0.3642, allocations: 305.1 kB / 0.6998 GB, free: 91.73 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001746/0.366, allocations: 1.506 MB / 0.7012 GB, free: 91.28 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001993/0.368, allocations: 1.776 MB / 0.703 GB, free: 90.54 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004298/0.3723, allocations: 3.368 MB / 0.7063 GB, free: 89.17 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.3723, allocations: 2.312 kB / 0.7063 GB, free: 89.17 MB / 0.6355 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.007728/0.38, allocations: 5.201 MB / 0.7113 GB, free: 87.43 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.38, allocations: 11.25 kB / 0.7113 GB, free: 87.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.3801, allocations: 6.875 kB / 0.7114 GB, free: 87.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003775/0.3838, allocations: 1.874 MB / 0.7132 GB, free: 86.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.3849, allocations: 411.8 kB / 0.7136 GB, free: 86.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01702/0.4019, allocations: 22.84 MB / 0.7359 GB, free: 71.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.4032, allocations: 316.1 kB / 0.7362 GB, free: 71.42 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.4033, allocations: 66.34 kB / 0.7362 GB, free: 71.41 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006755/0.404, allocations: 462.1 kB / 0.7367 GB, free: 71.12 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001779/0.4042, allocations: 171.2 kB / 0.7369 GB, free: 71.04 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007614/0.4118, allocations: 5.247 MB / 0.742 GB, free: 69.28 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-06/0.4118, allocations: 14.31 kB / 0.742 GB, free: 69.28 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.705e-05/0.4118, allocations: 18.59 kB / 0.742 GB, free: 69.28 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.4118, allocations: 8.438 kB / 0.742 GB, free: 69.28 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00833/0.4202, allocations: 6.797 MB / 0.7487 GB, free: 65.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.4202, allocations: 3.969 kB / 0.7487 GB, free: 65.74 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007203/0.4209, allocations: 354.8 kB / 0.749 GB, free: 65.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002786/0.4237, allocations: 1.71 MB / 0.7507 GB, free: 64.71 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.359e-05/0.4237, allocations: 46.42 kB / 0.7507 GB, free: 64.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01258/0.4363, allocations: 22 MB / 0.7722 GB, free: 42.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4363, allocations: 4 kB / 0.7722 GB, free: 42.32 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005705/0.442, allocations: 4.805 MB / 0.7769 GB, free: 37.44 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004806/0.4425, allocations: 420.2 kB / 0.7773 GB, free: 37.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.4426, allocations: 28 kB / 0.7773 GB, free: 37 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009527/0.4436, allocations: 319.5 kB / 0.7776 GB, free: 36.69 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003399/0.4439, allocations: 160.8 kB / 0.7778 GB, free: 36.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.402e-05/0.444, allocations: 55.97 kB / 0.7778 GB, free: 36.48 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005087/0.4445, allocations: 0.6879 MB / 0.7785 GB, free: 35.79 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9e-08/0.4445, allocations: 0 / 0.7785 GB, free: 35.79 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001565/0.4461, allocations: 0.6539 MB / 0.7791 GB, free: 35.14 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002189/0.4463, allocations: 133.1 kB / 0.7793 GB, free: 35 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005251/0.4515, allocations: 4.921 MB / 0.7841 GB, free: 29.98 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4515, allocations: 4.125 kB / 0.7841 GB, free: 29.98 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002967/0.4545, allocations: 3.272 MB / 0.7873 GB, free: 26.62 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.4556, allocations: 0.5224 MB / 0.7878 GB, free: 26.15 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004352/0.46, allocations: 4.436 MB / 0.7921 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005179/0.4605, allocations: 0.9799 MB / 0.7931 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003194/0.4608, allocations: 120.4 kB / 0.7932 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of SimCode: time 6.52e-07/0.4608, allocations: 4 kB / 0.7932 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of Templates: time 0.04951/0.5103, allocations: 85.7 MB / 0.8769 GB, free: 14.91 MB / 0.7136 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.290656047873199] Failed to read output from testmodel.py, exit status != 0: 0.5160618117079139 0.524149106 0.482767389 Calling exit ...