Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0006961/0.0006961, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0007094/0.0007094, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8436/0.8436, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.6747/0.6747, allocations: 154.6 MB / 414.5 MB, free: 0.8359 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.6193 GB, free: 13.28 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.207e-05/3.394e-05, allocations: 5.234 kB / 0.6193 GB, free: 13.28 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01141/0.01145, allocations: 13.72 MB / 0.6327 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01044/0.02189, allocations: 9.815 MB / 0.6423 GB, free: 5.656 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001397/0.02328, allocations: 83.25 kB / 0.6423 GB, free: 5.574 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002399/0.02568, allocations: 1.687 MB / 0.644 GB, free: 3.883 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004543/0.03022, allocations: 1.903 MB / 0.6458 GB, free: 1.977 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001721/0.03195, allocations: 0.771 MB / 0.6466 GB, free: 1.207 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003263/0.03521, allocations: 2.839 MB / 0.6494 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00151/0.03672, allocations: 1.188 MB / 0.6505 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002208/0.03893, allocations: 2.008 MB / 0.6525 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00146/0.04039, allocations: 0.9893 MB / 0.6535 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000172/0.04056, allocations: 160 kB / 0.6536 GB, free: 9.965 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/0.04169, allocations: 0.7365 MB / 0.6543 GB, free: 9.227 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0004184/0.0421, allocations: 0.6464 MB / 0.655 GB, free: 8.578 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000582/0.04269, allocations: 0.6468 MB / 0.6556 GB, free: 7.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002809/0.04549, allocations: 2.8 MB / 0.6583 GB, free: 5.121 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.0455, allocations: 4 kB / 0.6583 GB, free: 5.117 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.693e-06/0.0455, allocations: 0 / 0.6583 GB, free: 5.117 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.171e-05/0.04553, allocations: 0 / 0.6583 GB, free: 5.117 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.00268/0.04821, allocations: 2.128 MB / 0.6604 GB, free: 2.949 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.04825, allocations: 13.47 kB / 0.6604 GB, free: 2.938 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005506/0.05376, allocations: 2.121 MB / 0.6625 GB, free: 0.8125 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002005/0.05576, allocations: 1.232 MB / 0.6637 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.036e-05/0.05581, allocations: 86.69 kB / 0.6638 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002128/0.05603, allocations: 120.3 kB / 0.6639 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003483/0.05951, allocations: 3.074 MB / 0.6669 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.115e-05/0.05954, allocations: 15.83 kB / 0.6669 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001751/0.05972, allocations: 47.98 kB / 0.667 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003157/0.06003, allocations: 194.1 kB / 0.6671 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00395/0.06398, allocations: 2.783 MB / 0.6699 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008437/0.07242, allocations: 8.122 MB / 0.6778 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2835/0.3559, allocations: 2.167 MB / 0.6799 GB, free: 96.89 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001671/0.3576, allocations: 1.207 MB / 0.6811 GB, free: 96.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.48e-05/0.3576, allocations: 9.406 kB / 0.6811 GB, free: 96.66 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.3576, allocations: 47.62 kB / 0.6811 GB, free: 96.61 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=89): time 2.595e-06/0.3576, allocations: 0.75 kB / 0.6811 GB, free: 96.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=153): time 0.0277/0.3854, allocations: 15.98 MB / 0.6967 GB, free: 93.64 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.3854, allocations: 73.25 kB / 0.6968 GB, free: 93.57 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009712/0.3864, allocations: 1.029 MB / 0.6978 GB, free: 93.17 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001533/0.3865, allocations: 53.58 kB / 0.6979 GB, free: 93.12 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002921/0.3868, allocations: 0.7616 MB / 0.6986 GB, free: 92.59 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003024/0.3871, allocations: 0.5272 MB / 0.6991 GB, free: 92.24 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003224/0.3874, allocations: 289.2 kB / 0.6994 GB, free: 92.12 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.165e-05/0.3875, allocations: 305.1 kB / 0.6997 GB, free: 91.82 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001785/0.3893, allocations: 1.511 MB / 0.7012 GB, free: 91.37 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002009/0.3913, allocations: 1.78 MB / 0.7029 GB, free: 90.62 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004347/0.3956, allocations: 3.363 MB / 0.7062 GB, free: 89.26 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/0.3956, allocations: 2.812 kB / 0.7062 GB, free: 89.26 MB / 0.6355 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.008391/0.404, allocations: 5.198 MB / 0.7113 GB, free: 87.53 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/0.404, allocations: 8.891 kB / 0.7113 GB, free: 87.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/0.4041, allocations: 11.47 kB / 0.7113 GB, free: 87.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004122/0.4082, allocations: 1.882 MB / 0.7131 GB, free: 87.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/0.4094, allocations: 413.7 kB / 0.7135 GB, free: 87.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01876/0.4281, allocations: 22.84 MB / 0.7358 GB, free: 71.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002163/0.4303, allocations: 309.2 kB / 0.7361 GB, free: 71.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001689/0.4304, allocations: 66.19 kB / 0.7362 GB, free: 71.48 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.0008608/0.4313, allocations: 468.9 kB / 0.7366 GB, free: 71.2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002478/0.4316, allocations: 172.4 kB / 0.7368 GB, free: 71.11 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007706/0.4393, allocations: 5.25 MB / 0.7419 GB, free: 69.35 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/0.4393, allocations: 14.88 kB / 0.7419 GB, free: 69.35 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-05/0.4393, allocations: 19.22 kB / 0.742 GB, free: 69.35 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.4393, allocations: 9.609 kB / 0.742 GB, free: 69.35 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009111/0.4484, allocations: 6.788 MB / 0.7486 GB, free: 65.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.4485, allocations: 3.906 kB / 0.7486 GB, free: 65.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000721/0.4492, allocations: 356 kB / 0.7489 GB, free: 65.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002821/0.452, allocations: 1.701 MB / 0.7506 GB, free: 64.83 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.33e-05/0.4521, allocations: 47.08 kB / 0.7506 GB, free: 64.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01347/0.4655, allocations: 22.01 MB / 0.7721 GB, free: 42.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.4656, allocations: 7.938 kB / 0.7721 GB, free: 42.49 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005939/0.4715, allocations: 4.798 MB / 0.7768 GB, free: 37.61 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007018/0.4722, allocations: 418.6 kB / 0.7772 GB, free: 37.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/0.4724, allocations: 32 kB / 0.7773 GB, free: 37.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009907/0.4733, allocations: 315.5 kB / 0.7776 GB, free: 36.86 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000451/0.4738, allocations: 164.8 kB / 0.7777 GB, free: 36.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.593e-05/0.4739, allocations: 51.97 kB / 0.7778 GB, free: 36.65 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006079/0.4745, allocations: 0.6845 MB / 0.7784 GB, free: 35.96 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.01e-07/0.4745, allocations: 0 / 0.7784 GB, free: 35.96 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001779/0.4763, allocations: 0.6543 MB / 0.7791 GB, free: 35.31 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.0002428/0.4765, allocations: 146.4 kB / 0.7792 GB, free: 35.17 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005657/0.4822, allocations: 4.916 MB / 0.784 GB, free: 30.16 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.4822, allocations: 12.06 kB / 0.784 GB, free: 30.15 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.003268/0.4854, allocations: 3.257 MB / 0.7872 GB, free: 26.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/0.4869, allocations: 0.5108 MB / 0.7877 GB, free: 26.33 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005313/0.4922, allocations: 4.462 MB / 0.7921 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006985/0.4929, allocations: 0.9772 MB / 0.793 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003738/0.4933, allocations: 124.4 kB / 0.7931 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of SimCode: time 1.713e-06/0.4933, allocations: 0 / 0.7931 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of Templates: time 0.05608/0.5494, allocations: 85.69 MB / 0.8768 GB, free: 15.08 MB / 0.7136 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.494660410098732] Failed to read output from testmodel.py, exit status != 0: 0.5562404850497842 0.5627166109999999 0.515638265 Calling exit ...