Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.001421/0.001421, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.004622/0.004622, allocations: 173 kB / 23.49 MB, free: 1.062 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.01/1.01, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.7937/0.7937, allocations: 154.6 MB / 414.9 MB, free: 0.6758 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_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0.875 kB / 0.5203 GB, free: 2.52 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.429e-05/2.593e-05, allocations: 8.281 kB / 0.5204 GB, free: 2.512 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.02599/0.02601, allocations: 35.32 MB / 0.5548 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0148/0.04081, allocations: 11.8 MB / 0.5664 GB, free: 3.316 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002918/0.04373, allocations: 210.4 kB / 0.5666 GB, free: 3.109 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.006755/0.05048, allocations: 4.389 MB / 0.5709 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.005773/0.05626, allocations: 2.138 MB / 0.5729 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.005529/0.06178, allocations: 2.444 MB / 0.5753 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.01052/0.07231, allocations: 8.606 MB / 0.5837 GB, free: 1.504 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009086/0.08139, allocations: 6.212 MB / 0.5898 GB, free: 11.17 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009615/0.09101, allocations: 5.456 MB / 0.5951 GB, free: 5.707 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006167/0.09718, allocations: 4.187 MB / 0.5992 GB, free: 1.512 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.001941/0.09912, allocations: 0.7819 MB / 0.6 GB, free: 0.7305 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004017/0.1031, allocations: 1.928 MB / 0.6019 GB, free: 14.8 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.003907/0.107, allocations: 3.325 MB / 0.6051 GB, free: 11.47 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.004705/0.1117, allocations: 2.405 MB / 0.6075 GB, free: 9.059 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01118/0.1229, allocations: 6.666 MB / 0.614 GB, free: 2.375 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 8.066e-06/0.1229, allocations: 0 / 0.614 GB, free: 2.375 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.994e-06/0.1229, allocations: 0 / 0.614 GB, free: 2.375 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0003565/0.1233, allocations: 0 / 0.614 GB, free: 2.375 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01083/0.1341, allocations: 6.163 MB / 0.62 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.1342, allocations: 12.03 kB / 0.62 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005761/0.1399, allocations: 1.768 MB / 0.6217 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005251/0.1452, allocations: 3.338 MB / 0.625 GB, free: 7 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000276/0.1455, allocations: 415.5 kB / 0.6254 GB, free: 6.594 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008028/0.1463, allocations: 0.5432 MB / 0.6259 GB, free: 6.047 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01596/0.1622, allocations: 5.472 MB / 0.6313 GB, free: 76 kB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001338/0.1624, allocations: 35.95 kB / 0.6313 GB, free: 40 kB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000476/0.1628, allocations: 238.8 kB / 0.6315 GB, free: 15.81 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003187/0.1631, allocations: 349.1 kB / 0.6318 GB, free: 15.47 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01849/0.1816, allocations: 2.038 MB / 0.6338 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08536/0.267, allocations: 27.02 MB / 0.6602 GB, free: 1.699 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002202/0.2692, allocations: 1.262 MB / 0.6615 GB, free: 468 kB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00143/0.2706, allocations: 0.8776 MB / 0.6623 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.573e-05/0.2707, allocations: 30 kB / 0.6623 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/0.2707, allocations: 55.39 kB / 0.6624 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=179): time 4.789e-06/0.2708, allocations: 0 / 0.6624 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of matching and sorting (n=182): time 0.01267/0.2834, allocations: 6.292 MB / 0.6685 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.2835, allocations: 77.41 kB / 0.6686 GB, free: 9.098 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/0.2847, allocations: 1.362 MB / 0.6699 GB, free: 7.727 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.947e-05/0.2848, allocations: 57.7 kB / 0.67 GB, free: 7.664 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001066/0.2859, allocations: 2.362 MB / 0.6723 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004255/0.2863, allocations: 0.678 MB / 0.673 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003927/0.2867, allocations: 418.1 kB / 0.6734 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.2868, allocations: 488.7 kB / 0.6738 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005886/0.2874, allocations: 388.2 kB / 0.6742 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/0.2886, allocations: 1.391 MB / 0.6756 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2277/0.5163, allocations: 1.982 MB / 0.6775 GB, free: 181.1 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.091e-05/0.5164, allocations: 5.906 kB / 0.6775 GB, free: 181.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.004088/0.5205, allocations: 2.633 MB / 0.6801 GB, free: 180.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/0.5205, allocations: 15.5 kB / 0.6801 GB, free: 180.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.216e-05/0.5205, allocations: 23.66 kB / 0.6801 GB, free: 180.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002341/0.5228, allocations: 1.215 MB / 0.6813 GB, free: 180.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006758/0.5235, allocations: 356.2 kB / 0.6816 GB, free: 180.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009572/0.5331, allocations: 12.66 MB / 0.694 GB, free: 173.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.5343, allocations: 114.8 kB / 0.6941 GB, free: 173.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.5344, allocations: 96.09 kB / 0.6942 GB, free: 173.4 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001146/0.5355, allocations: 295.5 kB / 0.6945 GB, free: 173.2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004162/0.5359, allocations: 286.1 kB / 0.6947 GB, free: 173.2 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003657/0.5396, allocations: 2.124 MB / 0.6968 GB, free: 172.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.5396, allocations: 20.56 kB / 0.6968 GB, free: 172.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.473e-05/0.5396, allocations: 17.58 kB / 0.6969 GB, free: 172.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/0.5396, allocations: 12.45 kB / 0.6969 GB, free: 172.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00918/0.5488, allocations: 5.965 MB / 0.7027 GB, free: 169.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-06/0.5488, allocations: 5.781 kB / 0.7027 GB, free: 169.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005466/0.5494, allocations: 179.3 kB / 0.7029 GB, free: 169.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002599/0.552, allocations: 1.008 MB / 0.7039 GB, free: 169.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001193/0.5521, allocations: 34.5 kB / 0.7039 GB, free: 169.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01118/0.5633, allocations: 11.89 MB / 0.7155 GB, free: 160.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.315e-06/0.5633, allocations: 4.719 kB / 0.7155 GB, free: 160.8 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00438/0.5677, allocations: 2.366 MB / 0.7178 GB, free: 159.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008067/0.5685, allocations: 444.4 kB / 0.7182 GB, free: 159.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002065/0.5687, allocations: 31.25 kB / 0.7183 GB, free: 159.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006473/0.5693, allocations: 87.06 kB / 0.7184 GB, free: 159.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004739/0.5698, allocations: 178.7 kB / 0.7185 GB, free: 159.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.465e-05/0.5699, allocations: 47.38 kB / 0.7186 GB, free: 159.5 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0009306/0.5708, allocations: 0.7661 MB / 0.7193 GB, free: 159.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2e-07/0.5708, allocations: 0.875 kB / 0.7193 GB, free: 159.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00303/0.5739, allocations: 1.001 MB / 0.7203 GB, free: 159.1 MB / 0.6355 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002384/0.5741, allocations: 145.2 kB / 0.7204 GB, free: 159 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004421/0.5785, allocations: 2.979 MB / 0.7233 GB, free: 157.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.5785, allocations: 1.156 kB / 0.7233 GB, free: 157.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002879/0.5814, allocations: 2.167 MB / 0.7255 GB, free: 156.3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00259/0.584, allocations: 0.7624 MB / 0.7262 GB, free: 156.1 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01164/0.5956, allocations: 7.802 MB / 0.7338 GB, free: 152.1 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001481/0.5971, allocations: 1.35 MB / 0.7351 GB, free: 151.7 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.00106/0.5982, allocations: 384.5 kB / 0.7355 GB, free: 151.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/0.5984, allocations: 111.6 kB / 0.7356 GB, free: 151.6 MB / 0.6355 GB Notification: Performance of SimCode: time 2.375e-06/0.5984, allocations: 0 / 0.7356 GB, free: 151.6 MB / 0.6355 GB Notification: Performance of Templates: time 0.05168/0.6501, allocations: 44.98 MB / 0.7795 GB, free: 114.4 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.111696158070117]