Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine") translateModel(BuildingSystems.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001104, allocations: 108.2 kB / 16.27 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 191 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002249/0.002249, allocations: 288.3 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9406/0.9406, allocations: 169.2 MB / 0.4988 GB, free: 4.508 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 98.14 kB / 0.5959 GB, free: 15.15 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1797, allocations: 86.98 MB / 0.6808 GB, free: 8.18 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLine): time 0.008752/0.1885, allocations: 6.262 MB / 0.687 GB, free: 1.883 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3165/0.5051, allocations: 4.532 MB / 0.6914 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007466/0.506, allocations: 24.91 kB / 0.6914 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002588/0.5086, allocations: 0.9167 MB / 0.6923 GB, free: 12.1 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002287/0.5109, allocations: 0.7719 MB / 0.6931 GB, free: 11.85 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009625/0.5119, allocations: 325.6 kB / 0.6934 GB, free: 11.84 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001736/0.5136, allocations: 1.125 MB / 0.6945 GB, free: 11.61 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00111/0.5147, allocations: 0.6913 MB / 0.6951 GB, free: 11.46 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000936/0.5157, allocations: 471.9 kB / 0.6956 GB, free: 11.29 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001073/0.5168, allocations: 0.4898 MB / 0.6961 GB, free: 11.1 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002689/0.517, allocations: 69.12 kB / 0.6961 GB, free: 11.1 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008927/0.5179, allocations: 285.2 kB / 0.6964 GB, free: 11.05 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004053/0.5184, allocations: 250.2 kB / 0.6966 GB, free: 10.93 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008641/0.5192, allocations: 410.2 kB / 0.697 GB, free: 10.69 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001761/0.521, allocations: 1.064 MB / 0.6981 GB, free: 10.33 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.521, allocations: 0 / 0.6981 GB, free: 10.33 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.521, allocations: 0 / 0.6981 GB, free: 10.33 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.894e-05/0.5211, allocations: 5 kB / 0.6981 GB, free: 10.33 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002358/0.5234, allocations: 1.091 MB / 0.6991 GB, free: 9.578 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.5235, allocations: 9.438 kB / 0.6992 GB, free: 9.578 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003313/0.5268, allocations: 0.6342 MB / 0.6998 GB, free: 9.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000857/0.5277, allocations: 0.5396 MB / 0.7003 GB, free: 9.129 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.53e-05/0.5277, allocations: 42.39 kB / 0.7003 GB, free: 9.109 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.571e-05/0.5278, allocations: 49.62 kB / 0.7004 GB, free: 9.094 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002097/0.5299, allocations: 1.019 MB / 0.7014 GB, free: 8.668 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.53, allocations: 5.062 kB / 0.7014 GB, free: 8.664 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-05/0.53, allocations: 25.3 kB / 0.7014 GB, free: 8.648 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.773e-05/0.5301, allocations: 46.5 kB / 0.7015 GB, free: 8.645 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002487/0.5326, allocations: 1.009 MB / 0.7024 GB, free: 8.332 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00397/0.5366, allocations: 3.487 MB / 0.7058 GB, free: 5.598 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/0.5381, allocations: 0.4889 MB / 0.7063 GB, free: 5.438 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005776/0.5387, allocations: 224.7 kB / 0.7065 GB, free: 5.367 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.398e-05/0.5388, allocations: 8.531 kB / 0.7065 GB, free: 5.363 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.5388, allocations: 39.73 kB / 0.7066 GB, free: 5.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=31): time 2.265e-06/0.5388, allocations: 0 / 0.7066 GB, free: 5.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=43): time 0.00715/0.546, allocations: 2.016 MB / 0.7086 GB, free: 4.605 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.546, allocations: 60.91 kB / 0.7086 GB, free: 4.539 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007873/0.5468, allocations: 0.5647 MB / 0.7092 GB, free: 4.277 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.032e-05/0.5468, allocations: 36.41 kB / 0.7092 GB, free: 4.238 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/0.5471, allocations: 357.5 kB / 0.7095 GB, free: 3.953 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.5472, allocations: 152.6 kB / 0.7097 GB, free: 3.836 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/0.5474, allocations: 90.33 kB / 0.7098 GB, free: 3.781 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.5475, allocations: 369.5 kB / 0.7101 GB, free: 3.445 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007539/0.5483, allocations: 261.5 kB / 0.7104 GB, free: 3.367 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007598/0.549, allocations: 365.8 kB / 0.7107 GB, free: 3.164 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00154/0.5506, allocations: 0.6201 MB / 0.7113 GB, free: 2.859 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.5506, allocations: 6.109 kB / 0.7113 GB, free: 2.855 MB / 494.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00243/0.553, allocations: 0.9302 MB / 0.7122 GB, free: 2.492 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.5531, allocations: 13.53 kB / 0.7123 GB, free: 2.488 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.5531, allocations: 2.062 kB / 0.7123 GB, free: 2.488 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001127/0.5542, allocations: 279.7 kB / 0.7125 GB, free: 2.391 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006144/0.5549, allocations: 121.6 kB / 0.7126 GB, free: 2.379 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007581/0.5624, allocations: 9.108 MB / 0.7215 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007892/0.5633, allocations: 41.83 kB / 0.7216 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.462e-05/0.5633, allocations: 21.22 kB / 0.7216 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001065/0.5644, allocations: 436.4 kB / 0.722 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007692/0.5652, allocations: 355.7 kB / 0.7224 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00146/0.5667, allocations: 0.6124 MB / 0.7229 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.22e-06/0.5667, allocations: 1.219 kB / 0.723 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002676/0.5694, allocations: 1.122 MB / 0.724 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.5694, allocations: 6.156 kB / 0.7241 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.5694, allocations: 3.609 kB / 0.7241 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008463/0.5703, allocations: 229.5 kB / 0.7243 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006172/0.5709, allocations: 130.5 kB / 0.7244 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006926/0.5778, allocations: 8.789 MB / 0.733 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007461/0.5786, allocations: 41.2 kB / 0.733 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.739e-05/0.5787, allocations: 19 kB / 0.733 GB, free: 15.33 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 41 * 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): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000255/0.5789, allocations: 213.1 kB / 0.7332 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002091/0.5791, allocations: 72.78 kB / 0.7333 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002172/0.5794, allocations: 82.86 kB / 0.7334 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.5794, allocations: 8.891 kB / 0.7334 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.618e-05/0.5794, allocations: 2 kB / 0.7334 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.5794, allocations: 3.984 kB / 0.7334 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.5805, allocations: 0.6491 MB / 0.734 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.5805, allocations: 4.594 kB / 0.734 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005262/0.5811, allocations: 91.5 kB / 0.7341 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001003/0.5821, allocations: 259.9 kB / 0.7344 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.436e-05/0.5821, allocations: 6.406 kB / 0.7344 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007378/0.5895, allocations: 9.065 MB / 0.7432 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.5896, allocations: 1.031 kB / 0.7432 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002553/0.5921, allocations: 0.9163 MB / 0.7441 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004196/0.5926, allocations: 183.2 kB / 0.7443 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/0.5927, allocations: 6.281 kB / 0.7443 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005886/0.5933, allocations: 42.7 kB / 0.7444 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.5935, allocations: 40.22 kB / 0.7444 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.623e-05/0.5935, allocations: 12.11 kB / 0.7444 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006105/0.5942, allocations: 402.9 kB / 0.7448 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.21e-07/0.5942, allocations: 0 / 0.7448 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001416/0.5956, allocations: 302.5 kB / 0.7451 GB, free: 4.156 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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): 25 * 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): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001708/0.5958, allocations: 114 kB / 0.7452 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004564/0.6003, allocations: 2.397 MB / 0.7475 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.6004, allocations: 8.062 kB / 0.7475 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001541/0.6019, allocations: 1.007 MB / 0.7485 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.6031, allocations: 239.3 kB / 0.7487 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00302/0.6061, allocations: 1.363 MB / 0.7501 GB, free: 324 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007668/0.6069, allocations: 0.9899 MB / 0.751 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/0.6071, allocations: 53.05 kB / 0.7511 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of SimCode: time 2.31e-07/0.6071, allocations: 0 / 0.7511 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of Templates: time 0.0356/0.6427, allocations: 26.97 MB / 0.7774 GB, free: 8.398 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)