Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.0008592/0.0008592, allocations: 76.5 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.0007756/0.0007756, allocations: 174.3 kB / 23.21 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.8511/0.8511, allocations: 177.1 MB / 203.5 MB, free: 5.68 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.673/0.673, 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.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.6193 GB, free: 13.29 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.566e-05/2.765e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.28 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.005378/0.005406, allocations: 6.391 MB / 0.6255 GB, free: 6.855 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003544/0.00895, allocations: 2.981 MB / 0.6284 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003731/0.009323, allocations: 39.62 kB / 0.6285 GB, free: 3.824 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001524/0.01085, allocations: 0.9507 MB / 0.6294 GB, free: 2.871 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001712/0.01256, allocations: 0.5435 MB / 0.6299 GB, free: 2.324 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.01387, allocations: 425.8 kB / 0.6303 GB, free: 1.91 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001951/0.01582, allocations: 1.255 MB / 0.6316 GB, free: 0.6484 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001208/0.01703, allocations: 0.5372 MB / 0.6321 GB, free: 104 kB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00141/0.01844, allocations: 0.6625 MB / 0.6327 GB, free: 15.44 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008465/0.01929, allocations: 482.6 kB / 0.6332 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.01939, allocations: 64 kB / 0.6333 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006893/0.02008, allocations: 351.1 kB / 0.6336 GB, free: 14.56 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002821/0.02037, allocations: 331 kB / 0.6339 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003527/0.02072, allocations: 311.3 kB / 0.6342 GB, free: 13.93 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001512/0.02223, allocations: 1.246 MB / 0.6354 GB, free: 12.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.02223, allocations: 0 / 0.6354 GB, free: 12.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.563e-06/0.02224, allocations: 0 / 0.6354 GB, free: 12.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.71e-05/0.02225, allocations: 7.938 kB / 0.6354 GB, free: 12.67 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001332/0.02358, allocations: 1.092 MB / 0.6365 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.02363, allocations: 17.41 kB / 0.6365 GB, free: 11.53 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000826/0.02445, allocations: 248.1 kB / 0.6367 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006368/0.02509, allocations: 0.5223 MB / 0.6373 GB, free: 10.74 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.02511, allocations: 41.69 kB / 0.6373 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.281e-05/0.02519, allocations: 68.36 kB / 0.6374 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.02624, allocations: 1.329 MB / 0.6387 GB, free: 9.141 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.02626, allocations: 12.08 kB / 0.6387 GB, free: 9.129 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.614e-05/0.02631, allocations: 32.36 kB / 0.6387 GB, free: 9.098 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.852e-05/0.02641, allocations: 89.19 kB / 0.6388 GB, free: 9.012 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007456/0.02715, allocations: 0.7504 MB / 0.6395 GB, free: 8.258 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003003/0.03016, allocations: 4.511 MB / 0.6439 GB, free: 3.586 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006466/0.0308, allocations: 0.5136 MB / 0.6444 GB, free: 3.062 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002666/0.03107, allocations: 282.2 kB / 0.6447 GB, free: 2.785 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.0311, allocations: 4.5 kB / 0.6447 GB, free: 2.781 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.03112, allocations: 39.06 kB / 0.6447 GB, free: 2.734 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=47): time 2.906e-06/0.03112, allocations: 0 / 0.6447 GB, free: 2.734 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.002643/0.03376, allocations: 1.678 MB / 0.6464 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/0.03382, allocations: 67.84 kB / 0.6464 GB, free: 0.957 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005147/0.03433, allocations: 0.5066 MB / 0.6469 GB, free: 452 kB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.5e-05/0.03437, allocations: 37.64 kB / 0.647 GB, free: 408 kB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000239/0.03461, allocations: 428 kB / 0.6474 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.03473, allocations: 178.5 kB / 0.6475 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.03487, allocations: 126.6 kB / 0.6477 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.035, allocations: 362.8 kB / 0.648 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002888/0.03529, allocations: 277.8 kB / 0.6483 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004025/0.03569, allocations: 492.9 kB / 0.6487 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007771/0.03647, allocations: 0.8164 MB / 0.6495 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.03648, allocations: 4 kB / 0.6495 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001357/0.03783, allocations: 1.062 MB / 0.6506 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/0.03787, allocations: 8 kB / 0.6506 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.03788, allocations: 12.09 kB / 0.6506 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005995/0.03848, allocations: 291.1 kB / 0.6509 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003341/0.03882, allocations: 123.8 kB / 0.651 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005456/0.04427, allocations: 6.586 MB / 0.6574 GB, free: 5.027 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004572/0.04473, allocations: 39.91 kB / 0.6575 GB, free: 4.988 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.135e-05/0.04476, allocations: 28 kB / 0.6575 GB, free: 4.961 MB / 0.6198 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002911/0.04505, allocations: 250.5 kB / 0.6577 GB, free: 4.707 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.201e-05/0.04511, allocations: 75.64 kB / 0.6578 GB, free: 4.633 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009379/0.04605, allocations: 0.8777 MB / 0.6587 GB, free: 3.73 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.04606, allocations: 8 kB / 0.6587 GB, free: 3.723 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.04606, allocations: 0 / 0.6587 GB, free: 3.723 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.04606, allocations: 3.984 kB / 0.6587 GB, free: 3.719 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/0.0476, allocations: 1.529 MB / 0.6602 GB, free: 2.121 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.04761, allocations: 4 kB / 0.6602 GB, free: 2.117 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.04774, allocations: 55.95 kB / 0.6602 GB, free: 2.062 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004016/0.04814, allocations: 271.3 kB / 0.6605 GB, free: 1.785 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.04816, allocations: 8 kB / 0.6605 GB, free: 1.777 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003947/0.05211, allocations: 6.583 MB / 0.6669 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.05211, allocations: 4.031 kB / 0.6669 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009885/0.0531, allocations: 0.9781 MB / 0.6679 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001816/0.05328, allocations: 107.5 kB / 0.668 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/0.05332, allocations: 15.98 kB / 0.668 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.0535, allocations: 27.97 kB / 0.668 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.722e-05/0.0536, allocations: 51.8 kB / 0.6681 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.05362, allocations: 12 kB / 0.6681 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002589/0.05388, allocations: 342.8 kB / 0.6684 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.05388, allocations: 4 kB / 0.6684 GB, free: 9.207 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005524/0.05443, allocations: 220 kB / 0.6686 GB, free: 8.992 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001273/0.05456, allocations: 111.2 kB / 0.6687 GB, free: 8.875 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001429/0.05599, allocations: 1.225 MB / 0.6699 GB, free: 7.602 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.05599, allocations: 0 / 0.6699 GB, free: 7.602 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000643/0.05663, allocations: 0.8735 MB / 0.6708 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005786/0.05721, allocations: 205.4 kB / 0.671 GB, free: 6.488 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.05872, allocations: 1.391 MB / 0.6723 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.05899, allocations: 415.3 kB / 0.6727 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.83e-05/0.05909, allocations: 40.5 kB / 0.6728 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of SimCode: time 1.142e-06/0.05909, allocations: 4 kB / 0.6728 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of Templates: time 0.2396/0.2987, allocations: 20.7 MB / 0.693 GB, free: 94.18 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.358216505497694] Failed to read output from testmodel.py, exit status != 0: 0.30565403401851654 0.313315885 0.288997227 Calling exit ...