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.001884/0.001884, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002052/0.002052, allocations: 173.6 kB / 22.76 MB, free: 1.664 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 1.533/1.533, allocations: 177.1 MB / 203.1 MB, free: 5.449 MB / 186.7 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-545:108: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-545:116: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.309/1.309, allocations: 154.6 MB / 414.1 MB, free: 0.5508 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 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.432e-06/1.432e-06, allocations: 0.5469 kB / 0.5196 GB, free: 1.371 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.56e-05/2.703e-05, allocations: 2.312 kB / 0.5196 GB, free: 1.367 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04896/0.04899, allocations: 33.5 MB / 0.5523 GB, free: 15.79 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.02846/0.07745, allocations: 15.02 MB / 0.567 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004356/0.0818, allocations: 206.4 kB / 0.5672 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01152/0.09332, allocations: 3.775 MB / 0.5709 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.009516/0.1028, allocations: 3.077 MB / 0.5739 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.006691/0.1095, allocations: 2.356 MB / 0.5762 GB, free: 7.387 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.01372/0.1232, allocations: 9.019 MB / 0.585 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01004/0.1333, allocations: 5.523 MB / 0.5904 GB, free: 8.695 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01282/0.1461, allocations: 5.598 MB / 0.5959 GB, free: 3.09 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009045/0.1552, allocations: 3.971 MB / 0.5998 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.002762/0.1579, allocations: 0.7187 MB / 0.6005 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006223/0.1641, allocations: 1.638 MB / 0.6021 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.006366/0.1705, allocations: 3.075 MB / 0.6051 GB, free: 9.672 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.006291/0.1768, allocations: 2.397 MB / 0.6074 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.01695/0.1937, allocations: 11.45 MB / 0.6186 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1937, allocations: 0.8125 kB / 0.6186 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1937, allocations: 0 / 0.6186 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0003305/0.1941, allocations: 1.312 kB / 0.6186 GB, free: 11.79 MB / 0.5417 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.01786/0.2119, allocations: 6.86 MB / 0.6253 GB, free: 4.867 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.212, allocations: 8.031 kB / 0.6253 GB, free: 4.859 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009294/0.2213, allocations: 1.803 MB / 0.6271 GB, free: 3.055 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01035/0.2316, allocations: 3.465 MB / 0.6304 GB, free: 15.53 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004512/0.2321, allocations: 370.3 kB / 0.6308 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002377/0.2345, allocations: 0.5042 MB / 0.6313 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01834/0.2528, allocations: 6.17 MB / 0.6373 GB, free: 7.918 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002428/0.253, allocations: 23.83 kB / 0.6373 GB, free: 7.895 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001225/0.2543, allocations: 220.5 kB / 0.6375 GB, free: 7.68 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001285/0.2556, allocations: 433.6 kB / 0.638 GB, free: 7.254 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008957/0.2645, allocations: 2.263 MB / 0.6402 GB, free: 4.98 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3204/0.5849, allocations: 28.88 MB / 0.6684 GB, free: 105.7 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001874/0.5868, allocations: 1.019 MB / 0.6694 GB, free: 105.4 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001704/0.5885, allocations: 0.8746 MB / 0.6702 GB, free: 105.2 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001296/0.5886, allocations: 29.34 kB / 0.6702 GB, free: 105.2 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.5887, allocations: 59.2 kB / 0.6703 GB, free: 105.1 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=171): time 4.348e-06/0.5887, allocations: 0 / 0.6703 GB, free: 105.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=276): time 0.02687/0.6155, allocations: 9.838 MB / 0.6799 GB, free: 100.5 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.6156, allocations: 81.58 kB / 0.68 GB, free: 100.4 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00292/0.6185, allocations: 2.577 MB / 0.6825 GB, free: 97.85 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004424/0.619, allocations: 73.7 kB / 0.6826 GB, free: 97.77 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001255/0.6202, allocations: 2.55 MB / 0.6851 GB, free: 95.54 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001088/0.6213, allocations: 1.088 MB / 0.6861 GB, free: 94.55 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009841/0.6223, allocations: 0.6342 MB / 0.6867 GB, free: 93.9 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.554e-05/0.6223, allocations: 482.6 kB / 0.6872 GB, free: 93.43 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001486/0.6238, allocations: 0.892 MB / 0.6881 GB, free: 92.54 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002021/0.6259, allocations: 1.882 MB / 0.6899 GB, free: 90.33 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003863/0.6297, allocations: 3.213 MB / 0.6931 GB, free: 86.75 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.411e-05/0.6297, allocations: 6.125 kB / 0.6931 GB, free: 86.75 MB / 0.5573 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01085/0.6406, allocations: 4.938 MB / 0.6979 GB, free: 81.74 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.341e-05/0.6406, allocations: 12 kB / 0.6979 GB, free: 81.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.559e-05/0.6406, allocations: 16.88 kB / 0.6979 GB, free: 81.71 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01097/0.6516, allocations: 2.924 MB / 0.7008 GB, free: 78.79 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001674/0.6533, allocations: 407 kB / 0.7012 GB, free: 78.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02868/0.682, allocations: 23.11 MB / 0.7237 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003111/0.6851, allocations: 159.8 kB / 0.7239 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002522/0.6853, allocations: 108 kB / 0.724 GB, free: 54.31 MB / 0.5573 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.001646/0.687, allocations: 0.4999 MB / 0.7245 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006562/0.6876, allocations: 402.1 kB / 0.7248 GB, free: 53.4 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01021/0.6978, allocations: 4.438 MB / 0.7292 GB, free: 48.88 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.372e-05/0.6979, allocations: 31.94 kB / 0.7292 GB, free: 48.84 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-05/0.6979, allocations: 28 kB / 0.7292 GB, free: 48.82 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.626e-05/0.698, allocations: 19.95 kB / 0.7293 GB, free: 48.8 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02067/0.7187, allocations: 9.941 MB / 0.739 GB, free: 38.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.921e-05/0.7187, allocations: 4 kB / 0.739 GB, free: 38.69 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000953/0.7196, allocations: 235.6 kB / 0.7392 GB, free: 38.46 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01004/0.7297, allocations: 2.682 MB / 0.7418 GB, free: 35.78 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002942/0.73, allocations: 48 kB / 0.7419 GB, free: 35.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02755/0.7575, allocations: 22.66 MB / 0.764 GB, free: 12.35 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.7575, allocations: 7.938 kB / 0.764 GB, free: 12.34 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009385/0.7669, allocations: 4.474 MB / 0.7684 GB, free: 7.617 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002108/0.769, allocations: 0.654 MB / 0.769 GB, free: 6.961 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005643/0.7696, allocations: 52.19 kB / 0.7691 GB, free: 6.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001819/0.7714, allocations: 171.8 kB / 0.7692 GB, free: 6.742 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008194/0.7722, allocations: 265.2 kB / 0.7695 GB, free: 6.484 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001745/0.7724, allocations: 76 kB / 0.7695 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00171/0.7741, allocations: 1.467 MB / 0.771 GB, free: 4.934 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7741, allocations: 0 / 0.771 GB, free: 4.934 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004208/0.7783, allocations: 1.375 MB / 0.7723 GB, free: 3.559 MB / 0.5573 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.0003847/0.7787, allocations: 175 kB / 0.7725 GB, free: 3.379 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.009776/0.7885, allocations: 5.226 MB / 0.7776 GB, free: 14.03 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.486e-05/0.7885, allocations: 4 kB / 0.7776 GB, free: 14.02 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.009011/0.7975, allocations: 3.949 MB / 0.7814 GB, free: 9.961 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005194/0.8027, allocations: 1.017 MB / 0.7824 GB, free: 9 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02009/0.8228, allocations: 9.148 MB / 0.7914 GB, free: 15.7 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005779/0.8286, allocations: 2.806 MB / 0.7941 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001956/0.8305, allocations: 466.6 kB / 0.7946 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004236/0.8309, allocations: 148.5 kB / 0.7947 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of SimCode: time 1.563e-06/0.8309, allocations: 0 / 0.7947 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of Templates: time 0.1432/0.9742, allocations: 76.51 MB / 0.8694 GB, free: 1.008 MB / 0.6511 GB " [Timeout remaining time 659] 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=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.877624475047924]