Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.0009551/0.0009551, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009114/0.0009114, allocations: 169 kB / 23.02 MB, free: 1.547 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.9327/0.9327, allocations: 177.1 MB / 203.4 MB, free: 5.645 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-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 0.7617/0.7617, allocations: 154.6 MB / 414.5 MB, free: 0.6719 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.5203 GB, free: 2.223 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.807e-05/1.94e-05, allocations: 5.656 kB / 0.5203 GB, free: 2.219 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.009686/0.009706, allocations: 11.83 MB / 0.5319 GB, free: 6.352 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.005041/0.01475, allocations: 3.612 MB / 0.5354 GB, free: 2.754 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001106/0.01585, allocations: 111.2 kB / 0.5355 GB, free: 2.645 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009548/0.01681, allocations: 0.4994 MB / 0.536 GB, free: 2.145 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001431/0.01824, allocations: 1.101 MB / 0.5371 GB, free: 1.043 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001358/0.0196, allocations: 1.017 MB / 0.5381 GB, free: 28 kB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.00322/0.02282, allocations: 4.875 MB / 0.5428 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002599/0.02542, allocations: 3.138 MB / 0.5459 GB, free: 7.934 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002361/0.02778, allocations: 2.99 MB / 0.5488 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001911/0.02969, allocations: 2.372 MB / 0.5511 GB, free: 2.562 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0003876/0.03008, allocations: 429.2 kB / 0.5516 GB, free: 2.145 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006116/0.03069, allocations: 0.5115 MB / 0.5521 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001019/0.03171, allocations: 1.805 MB / 0.5538 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0009773/0.03268, allocations: 1.346 MB / 0.5551 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.00231/0.03499, allocations: 3.346 MB / 0.5584 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.035, allocations: 0 / 0.5584 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.654e-06/0.035, allocations: 4 kB / 0.5584 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.688e-05/0.03503, allocations: 1.281 kB / 0.5584 GB, free: 11.12 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.003352/0.03838, allocations: 3.605 MB / 0.5619 GB, free: 7.465 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.03842, allocations: 8.031 kB / 0.5619 GB, free: 7.457 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001811/0.04023, allocations: 0.9881 MB / 0.5629 GB, free: 6.469 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002/0.04223, allocations: 1.908 MB / 0.5648 GB, free: 4.527 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/0.04234, allocations: 218.3 kB / 0.565 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002931/0.04263, allocations: 305.2 kB / 0.5653 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00346/0.04609, allocations: 3.144 MB / 0.5683 GB, free: 0.5312 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.976e-05/0.04614, allocations: 8.75 kB / 0.5683 GB, free: 0.5234 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001784/0.04632, allocations: 131.9 kB / 0.5685 GB, free: 404 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002478/0.04657, allocations: 236.2 kB / 0.5687 GB, free: 168 kB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001872/0.04844, allocations: 1.134 MB / 0.5698 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009885/0.05832, allocations: 14.44 MB / 0.5839 GB, free: 188 kB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007652/0.05909, allocations: 0.5951 MB / 0.5845 GB, free: 15.58 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005629/0.05965, allocations: 440 kB / 0.5849 GB, free: 15.15 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.257e-05/0.0597, allocations: 19.75 kB / 0.5849 GB, free: 15.13 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.05974, allocations: 46.39 kB / 0.585 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=107): time 3.597e-06/0.05974, allocations: 0 / 0.585 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of matching and sorting (n=138): time 0.00757/0.06731, allocations: 4.488 MB / 0.5893 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.06735, allocations: 65.53 kB / 0.5894 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007803/0.06813, allocations: 0.9968 MB / 0.5904 GB, free: 9.598 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.383e-05/0.0682, allocations: 50.23 kB / 0.5904 GB, free: 9.543 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005994/0.0688, allocations: 1.396 MB / 0.5918 GB, free: 8.133 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002922/0.06909, allocations: 0.5092 MB / 0.5923 GB, free: 7.621 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002941/0.06938, allocations: 305.1 kB / 0.5926 GB, free: 7.316 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.497e-05/0.06948, allocations: 476.8 kB / 0.593 GB, free: 6.848 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004476/0.06993, allocations: 307.8 kB / 0.5933 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006992/0.07063, allocations: 0.8875 MB / 0.5942 GB, free: 5.434 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.0719, allocations: 1.313 MB / 0.5955 GB, free: 3.891 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-06/0.07191, allocations: 4 kB / 0.5955 GB, free: 3.887 MB / 0.5573 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.002695/0.0746, allocations: 1.935 MB / 0.5974 GB, free: 1.93 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.07463, allocations: 11.94 kB / 0.5974 GB, free: 1.918 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.07464, allocations: 12 kB / 0.5974 GB, free: 1.906 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002026/0.07667, allocations: 0.9205 MB / 0.5983 GB, free: 0.9805 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005105/0.07718, allocations: 263.5 kB / 0.5985 GB, free: 0.7227 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007734/0.08491, allocations: 9.094 MB / 0.6074 GB, free: 7.266 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000616/0.08553, allocations: 96.03 kB / 0.6075 GB, free: 7.172 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-05/0.08561, allocations: 71.98 kB / 0.6076 GB, free: 7.102 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007708/0.08639, allocations: 248.1 kB / 0.6078 GB, free: 6.848 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/0.0866, allocations: 203.1 kB / 0.608 GB, free: 6.648 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002451/0.08906, allocations: 1.661 MB / 0.6096 GB, free: 4.953 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.08907, allocations: 12 kB / 0.6097 GB, free: 4.941 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-05/0.08908, allocations: 12 kB / 0.6097 GB, free: 4.93 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.08909, allocations: 7.969 kB / 0.6097 GB, free: 4.922 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005163/0.09426, allocations: 3.998 MB / 0.6136 GB, free: 0.793 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.09426, allocations: 7.938 kB / 0.6136 GB, free: 0.7852 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003034/0.09457, allocations: 147.8 kB / 0.6137 GB, free: 0.6406 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00182/0.09639, allocations: 0.8475 MB / 0.6146 GB, free: 15.79 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.666e-05/0.09644, allocations: 24 kB / 0.6146 GB, free: 15.76 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007076/0.1035, allocations: 9.099 MB / 0.6235 GB, free: 6.301 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.1035, allocations: 7.938 kB / 0.6235 GB, free: 6.293 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002304/0.1058, allocations: 1.875 MB / 0.6253 GB, free: 4.316 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003963/0.1062, allocations: 326.9 kB / 0.6256 GB, free: 3.996 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.1063, allocations: 28 kB / 0.6256 GB, free: 3.969 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003732/0.1067, allocations: 83.89 kB / 0.6257 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002284/0.1069, allocations: 128.6 kB / 0.6258 GB, free: 3.758 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.683e-05/0.107, allocations: 40 kB / 0.6259 GB, free: 3.719 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0004831/0.1075, allocations: 0.5887 MB / 0.6265 GB, free: 3.125 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.1075, allocations: 3.938 kB / 0.6265 GB, free: 3.121 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001403/0.1089, allocations: 0.668 MB / 0.6271 GB, free: 2.453 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001834/0.1091, allocations: 140.9 kB / 0.6272 GB, free: 2.309 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002333/0.1114, allocations: 2.104 MB / 0.6293 GB, free: 160 kB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.1114, allocations: 0 / 0.6293 GB, free: 160 kB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001436/0.1128, allocations: 1.58 MB / 0.6308 GB, free: 14.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.1139, allocations: 480.6 kB / 0.6313 GB, free: 14.08 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005707/0.1196, allocations: 4.794 MB / 0.636 GB, free: 9.164 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007599/0.1204, allocations: 0.8155 MB / 0.6368 GB, free: 8.324 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005932/0.121, allocations: 285.3 kB / 0.637 GB, free: 8.039 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.1211, allocations: 84.5 kB / 0.6371 GB, free: 7.957 MB / 0.6042 GB Notification: Performance of SimCode: time 1.403e-06/0.1211, allocations: 0 / 0.6371 GB, free: 7.957 MB / 0.6042 GB Notification: Performance of Templates: time 0.03808/0.1592, allocations: 35.05 MB / 0.6714 GB, free: 5.539 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.495200887788087]