Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.0008872/0.0008872, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001066/0.001066, allocations: 177 kB / 23.36 MB, free: 1.137 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.9206/0.9206, allocations: 177.2 MB / 203.8 MB, free: 5.461 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.7867/0.7867, allocations: 154.6 MB / 414.8 MB, free: 0.5078 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.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 480 MB, free: 6.891 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.3e-05/1.461e-05, allocations: 3.375 kB / 480 MB, free: 6.887 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.00415/0.004164, allocations: 4.065 MB / 484.1 MB, free: 2.855 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002549/0.006713, allocations: 1.567 MB / 485.6 MB, free: 1.293 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002947/0.007008, allocations: 44.19 kB / 485.7 MB, free: 1.25 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005238/0.007532, allocations: 190.6 kB / 485.9 MB, free: 1.062 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000617/0.008149, allocations: 409.8 kB / 486.3 MB, free: 0.6641 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005532/0.008702, allocations: 361.5 kB / 486.6 MB, free: 320 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001041/0.009743, allocations: 1.136 MB / 487.7 MB, free: 15.17 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006718/0.01041, allocations: 0.5561 MB / 488.3 MB, free: 14.61 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007468/0.01116, allocations: 0.604 MB / 488.9 MB, free: 14 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005476/0.01171, allocations: 435.6 kB / 489.3 MB, free: 13.58 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 7.063e-05/0.01178, allocations: 56.88 kB / 489.4 MB, free: 13.52 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002389/0.01202, allocations: 135.7 kB / 489.5 MB, free: 13.39 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002136/0.01223, allocations: 304 kB / 489.8 MB, free: 13.09 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005768/0.01281, allocations: 275.3 kB / 490.1 MB, free: 12.82 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006119/0.01342, allocations: 0.6578 MB / 490.7 MB, free: 12.16 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.01342, allocations: 0.9062 kB / 490.7 MB, free: 12.16 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01342, allocations: 0 / 490.7 MB, free: 12.16 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.63e-05/0.01344, allocations: 0.625 kB / 490.7 MB, free: 12.16 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.0009418/0.01438, allocations: 0.9133 MB / 491.7 MB, free: 11.23 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.01441, allocations: 8.031 kB / 491.7 MB, free: 11.22 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007073/0.01512, allocations: 260.9 kB / 491.9 MB, free: 10.97 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005777/0.0157, allocations: 0.5129 MB / 492.4 MB, free: 10.44 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.001e-05/0.01573, allocations: 45.67 kB / 492.5 MB, free: 10.39 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.274e-05/0.0158, allocations: 68.36 kB / 492.5 MB, free: 10.33 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006073/0.01641, allocations: 0.7738 MB / 493.3 MB, free: 9.426 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/0.01643, allocations: 16.06 kB / 493.3 MB, free: 9.41 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.927e-05/0.01647, allocations: 24.38 kB / 493.4 MB, free: 9.387 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.698e-05/0.01654, allocations: 79.78 kB / 493.4 MB, free: 9.312 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002714/0.01681, allocations: 252.2 kB / 493.7 MB, free: 9.066 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002531/0.01934, allocations: 3.866 MB / 497.6 MB, free: 5.059 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003126/0.01966, allocations: 255.6 kB / 497.8 MB, free: 4.801 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002853/0.01994, allocations: 220.5 kB / 498 MB, free: 4.59 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.01997, allocations: 8 kB / 498 MB, free: 4.582 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.01999, allocations: 35.97 kB / 498.1 MB, free: 4.539 MB / 458.7 MB Notification: Performance of pre-optimization done (n=41): time 1.623e-06/0.01999, allocations: 1.562 kB / 498.1 MB, free: 4.539 MB / 458.7 MB Notification: Performance of matching and sorting (n=42): time 0.001538/0.02153, allocations: 0.8815 MB / 498.9 MB, free: 3.652 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.02155, allocations: 55.41 kB / 499 MB, free: 3.586 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.02177, allocations: 407 kB / 499.4 MB, free: 3.176 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.02179, allocations: 33.7 kB / 499.4 MB, free: 3.137 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.02192, allocations: 352.9 kB / 499.8 MB, free: 2.785 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.054e-05/0.022, allocations: 162.6 kB / 499.9 MB, free: 2.625 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.505e-05/0.0221, allocations: 110.2 kB / 0.4883 GB, free: 2.512 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.9e-05/0.02219, allocations: 367.6 kB / 0.4887 GB, free: 2.145 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.6e-05/0.02226, allocations: 65.28 kB / 0.4887 GB, free: 2.082 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.02243, allocations: 282.5 kB / 0.489 GB, free: 1.715 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003064/0.02274, allocations: 418.8 kB / 0.4894 GB, free: 1.223 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.02274, allocations: 0.5625 kB / 0.4894 GB, free: 1.223 MB / 458.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006401/0.02338, allocations: 0.5629 MB / 0.4899 GB, free: 0.6484 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.0234, allocations: 8 kB / 0.49 GB, free: 0.6406 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.02341, allocations: 4 kB / 0.49 GB, free: 0.6367 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005094/0.02392, allocations: 251.2 kB / 0.4902 GB, free: 392 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.02407, allocations: 87.84 kB / 0.4903 GB, free: 304 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003429/0.02749, allocations: 5.405 MB / 0.4956 GB, free: 10.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/0.02765, allocations: 16.75 kB / 0.4956 GB, free: 10.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.02768, allocations: 20 kB / 0.4956 GB, free: 10.48 MB / 474.7 MB 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001378/0.02781, allocations: 151.3 kB / 0.4957 GB, free: 10.32 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.843e-05/0.02787, allocations: 47.95 kB / 0.4958 GB, free: 10.28 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000588/0.02846, allocations: 469.1 kB / 0.4962 GB, free: 9.801 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.02847, allocations: 4 kB / 0.4962 GB, free: 9.797 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.02847, allocations: 4 kB / 0.4962 GB, free: 9.793 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.02847, allocations: 0 / 0.4962 GB, free: 9.793 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.0295, allocations: 0.8886 MB / 0.4971 GB, free: 8.855 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.0295, allocations: 9.328 kB / 0.4971 GB, free: 8.848 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.123e-05/0.02957, allocations: 27.94 kB / 0.4971 GB, free: 8.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004804/0.03005, allocations: 242 kB / 0.4974 GB, free: 8.574 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.03007, allocations: 10.06 kB / 0.4974 GB, free: 8.566 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003024/0.0331, allocations: 5.399 MB / 0.5027 GB, free: 2.793 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.0331, allocations: 0 / 0.5027 GB, free: 2.793 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005791/0.03368, allocations: 0.5917 MB / 0.5032 GB, free: 2.152 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.177e-05/0.03377, allocations: 75.62 kB / 0.5033 GB, free: 2.078 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.0338, allocations: 11.95 kB / 0.5033 GB, free: 2.066 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.03391, allocations: 12 kB / 0.5033 GB, free: 2.055 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.969e-05/0.03399, allocations: 43.8 kB / 0.5034 GB, free: 2.012 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.03401, allocations: 12 kB / 0.5034 GB, free: 2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00011/0.03412, allocations: 168.4 kB / 0.5035 GB, free: 1.836 MB / 474.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03412, allocations: 0.875 kB / 0.5035 GB, free: 1.836 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004523/0.03457, allocations: 196 kB / 0.5037 GB, free: 1.645 MB / 474.7 MB 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001123/0.03468, allocations: 96.3 kB / 0.5038 GB, free: 1.547 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007404/0.03542, allocations: 0.8639 MB / 0.5047 GB, free: 0.6406 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/0.03543, allocations: 8.5 kB / 0.5047 GB, free: 0.6328 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004951/0.03593, allocations: 0.6948 MB / 0.5054 GB, free: 15.89 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005094/0.03644, allocations: 204.1 kB / 0.5056 GB, free: 15.71 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.038, allocations: 1.152 MB / 0.5067 GB, free: 14.51 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/0.03814, allocations: 206.2 kB / 0.5069 GB, free: 14.29 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001557/0.0383, allocations: 60.67 kB / 0.5069 GB, free: 14.24 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002102/0.03851, allocations: 170.2 kB / 0.5071 GB, free: 14.07 MB / 490.7 MB Notification: Performance of SimCode: time 7.61e-07/0.03851, allocations: 0 / 0.5071 GB, free: 14.07 MB / 490.7 MB Notification: Performance of Templates: time 0.01352/0.05202, allocations: 11.04 MB / 0.5179 GB, free: 3.434 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7989955069497228]