Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.0006885/0.0006885, 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.0007005/0.0007005, 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.8439/0.8439, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.6965/0.6965, allocations: 154.6 MB / 414.5 MB, free: 0.8516 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.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.6193 GB, free: 13.28 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.391e-05/1.517e-05, allocations: 3.594 kB / 0.6193 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.009344/0.009359, allocations: 13.08 MB / 0.632 GB, free: 140 kB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.007448/0.01681, allocations: 9.01 MB / 0.6408 GB, free: 7.102 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004392/0.01725, allocations: 75.31 kB / 0.6409 GB, free: 7.027 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001752/0.019, allocations: 1.672 MB / 0.6426 GB, free: 5.352 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001828/0.02083, allocations: 1.627 MB / 0.6441 GB, free: 3.723 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008408/0.02167, allocations: 0.7714 MB / 0.6449 GB, free: 2.949 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001838/0.02351, allocations: 2.609 MB / 0.6474 GB, free: 340 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001/0.02451, allocations: 1.184 MB / 0.6486 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.0256, allocations: 1.5 MB / 0.6501 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008261/0.02643, allocations: 0.9934 MB / 0.651 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001662/0.02659, allocations: 164 kB / 0.6512 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006724/0.02727, allocations: 0.7327 MB / 0.6519 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0004964/0.02776, allocations: 0.6503 MB / 0.6525 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0004271/0.02819, allocations: 0.6507 MB / 0.6532 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00175/0.02994, allocations: 2.808 MB / 0.6559 GB, free: 7.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.02994, allocations: 0 / 0.6559 GB, free: 7.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 9.91e-07/0.02994, allocations: 0 / 0.6559 GB, free: 7.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.114e-05/0.02996, allocations: 4 kB / 0.6559 GB, free: 7.586 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.002291/0.03226, allocations: 2.104 MB / 0.658 GB, free: 5.441 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.0323, allocations: 13.47 kB / 0.658 GB, free: 5.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005394/0.03769, allocations: 2.094 MB / 0.66 GB, free: 3.332 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.03908, allocations: 1.223 MB / 0.6612 GB, free: 2.059 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.244e-05/0.03913, allocations: 86.73 kB / 0.6613 GB, free: 1.973 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/0.03929, allocations: 116.4 kB / 0.6614 GB, free: 1.859 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003089/0.04238, allocations: 3.086 MB / 0.6644 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/0.04241, allocations: 11.88 kB / 0.6644 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/0.04252, allocations: 59.97 kB / 0.6645 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002863/0.04281, allocations: 178.1 kB / 0.6647 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003918/0.04673, allocations: 2.791 MB / 0.6674 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007067/0.0538, allocations: 8.113 MB / 0.6753 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0033/0.0571, allocations: 2.226 MB / 0.6775 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2793/0.3364, allocations: 1.208 MB / 0.6787 GB, free: 97.07 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.393e-05/0.3365, allocations: 12.83 kB / 0.6787 GB, free: 97.07 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.3365, allocations: 41.94 kB / 0.6787 GB, free: 97.03 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=89): time 3.988e-06/0.3365, allocations: 5.938 kB / 0.6787 GB, free: 97.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=131): time 0.02145/0.358, allocations: 12.65 MB / 0.6911 GB, free: 94.85 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.358, allocations: 64.34 kB / 0.6911 GB, free: 94.79 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000889/0.3589, allocations: 0.9796 MB / 0.6921 GB, free: 94.39 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001228/0.359, allocations: 47.7 kB / 0.6921 GB, free: 94.34 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002597/0.3593, allocations: 0.7339 MB / 0.6929 GB, free: 93.84 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002666/0.3595, allocations: 474 kB / 0.6933 GB, free: 93.54 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002917/0.3598, allocations: 257 kB / 0.6936 GB, free: 93.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.614e-05/0.3599, allocations: 361.8 kB / 0.6939 GB, free: 93.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001613/0.3615, allocations: 1.339 MB / 0.6952 GB, free: 92.72 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001696/0.3632, allocations: 1.599 MB / 0.6968 GB, free: 92.06 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003339/0.3665, allocations: 2.998 MB / 0.6997 GB, free: 90.87 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.3665, allocations: 0 / 0.6997 GB, free: 90.87 MB / 0.6355 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.005962/0.3725, allocations: 4.385 MB / 0.704 GB, free: 89.42 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.271e-05/0.3725, allocations: 7.688 kB / 0.704 GB, free: 89.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/0.3725, allocations: 7.375 kB / 0.704 GB, free: 89.42 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003175/0.3757, allocations: 1.431 MB / 0.7054 GB, free: 89.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/0.377, allocations: 440.1 kB / 0.7058 GB, free: 89.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01545/0.3925, allocations: 24.79 MB / 0.73 GB, free: 69.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001712/0.3942, allocations: 303.9 kB / 0.7303 GB, free: 69.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.3943, allocations: 60.06 kB / 0.7304 GB, free: 69.11 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007434/0.3951, allocations: 438.5 kB / 0.7308 GB, free: 68.84 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002113/0.3953, allocations: 155 kB / 0.7309 GB, free: 68.76 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006879/0.4022, allocations: 4.396 MB / 0.7352 GB, free: 67.29 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/0.4022, allocations: 17.33 kB / 0.7352 GB, free: 67.29 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.12e-05/0.4022, allocations: 12.84 kB / 0.7353 GB, free: 67.29 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.806e-05/0.4022, allocations: 11.2 kB / 0.7353 GB, free: 67.29 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009828/0.4121, allocations: 6.122 MB / 0.7412 GB, free: 65.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.4121, allocations: 2.969 kB / 0.7413 GB, free: 65.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009843/0.4131, allocations: 384.3 kB / 0.7416 GB, free: 65.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002626/0.4157, allocations: 1.306 MB / 0.7429 GB, free: 64.74 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001399/0.4158, allocations: 39.88 kB / 0.7429 GB, free: 64.72 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01272/0.4285, allocations: 23.66 MB / 0.766 GB, free: 45.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.4285, allocations: 7.906 kB / 0.766 GB, free: 45.01 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005518/0.4341, allocations: 4.146 MB / 0.7701 GB, free: 42.61 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006107/0.4347, allocations: 376.7 kB / 0.7704 GB, free: 42.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.4348, allocations: 23.5 kB / 0.7705 GB, free: 42.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009118/0.4357, allocations: 304.9 kB / 0.7708 GB, free: 42.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003593/0.4361, allocations: 143.2 kB / 0.7709 GB, free: 42.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-05/0.4361, allocations: 54.39 kB / 0.771 GB, free: 42.08 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005555/0.4367, allocations: 0.6456 MB / 0.7716 GB, free: 41.71 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4367, allocations: 3.938 kB / 0.7716 GB, free: 41.71 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001545/0.4382, allocations: 0.5671 MB / 0.7721 GB, free: 41.29 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002295/0.4385, allocations: 134.8 kB / 0.7723 GB, free: 41.16 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005407/0.4439, allocations: 4.966 MB / 0.7771 GB, free: 36.04 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/0.4439, allocations: 3.938 kB / 0.7771 GB, free: 36.04 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.003237/0.4471, allocations: 3.411 MB / 0.7805 GB, free: 32.46 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/0.4487, allocations: 0.5016 MB / 0.7809 GB, free: 31.99 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005358/0.454, allocations: 4.132 MB / 0.785 GB, free: 27.82 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006328/0.4547, allocations: 0.8945 MB / 0.7859 GB, free: 26.89 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004923/0.4552, allocations: 128.4 kB / 0.786 GB, free: 26.77 MB / 0.6355 GB Notification: Performance of SimCode: time 1.623e-06/0.4552, allocations: 0 / 0.786 GB, free: 26.77 MB / 0.6355 GB Notification: Performance of Templates: time 0.0667/0.5219, allocations: 112.4 MB / 0.8958 GB, free: 10.36 MB / 0.7292 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.033848931081593] Failed to read output from testmodel.py, exit status != 0: 0.5273340819403529 0.536589413 0.5051395679999999 Calling exit ...