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.001099/0.001099, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001217/0.001217, allocations: 192.7 kB / 16.13 MB, free: 6.707 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.293/1.293, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002037/0.002037, allocations: 282.5 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9485/0.9485, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 94.16 kB / 0.5945 GB, free: 28.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.143, allocations: 86.98 MB / 0.6794 GB, free: 1.176 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLine): time 0.007414/0.1504, allocations: 6.287 MB / 0.6856 GB, free: 10.88 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006688/0.1572, allocations: 4.535 MB / 0.69 GB, free: 6.332 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008752/0.1581, allocations: 19.88 kB / 0.69 GB, free: 6.312 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002529/0.1607, allocations: 0.8475 MB / 0.6909 GB, free: 5.465 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002402/0.1631, allocations: 0.7106 MB / 0.6915 GB, free: 4.754 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007688/0.1639, allocations: 287.6 kB / 0.6918 GB, free: 4.473 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001771/0.1656, allocations: 1.445 MB / 0.6932 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007018/0.1664, allocations: 481.5 kB / 0.6937 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006088/0.167, allocations: 418.3 kB / 0.6941 GB, free: 2.137 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006561/0.1676, allocations: 0.4942 MB / 0.6946 GB, free: 1.641 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.864e-05/0.1677, allocations: 47.98 kB / 0.6946 GB, free: 1.594 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005844/0.1683, allocations: 319.4 kB / 0.6949 GB, free: 1.281 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002109/0.1685, allocations: 227.2 kB / 0.6951 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003628/0.1689, allocations: 382 kB / 0.6955 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009913/0.1699, allocations: 1.055 MB / 0.6965 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1699, allocations: 0 / 0.6965 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.22e-07/0.1699, allocations: 0 / 0.6965 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.17, allocations: 4 kB / 0.6965 GB, free: 15.62 MB / 0.4981 GB 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.001828/0.1718, allocations: 1.09 MB / 0.6976 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.1718, allocations: 12.03 kB / 0.6976 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003111/0.175, allocations: 0.6319 MB / 0.6982 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008349/0.1758, allocations: 0.5425 MB / 0.6988 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.038e-05/0.1758, allocations: 37.69 kB / 0.6988 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-05/0.176, allocations: 56.11 kB / 0.6989 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/0.1779, allocations: 1.022 MB / 0.6998 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.1779, allocations: 0 / 0.6998 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.085e-05/0.178, allocations: 24 kB / 0.6999 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.932e-05/0.1781, allocations: 45.28 kB / 0.6999 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002291/0.1804, allocations: 1.004 MB / 0.7009 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004199/0.1846, allocations: 3.494 MB / 0.7043 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/0.186, allocations: 491 kB / 0.7048 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005187/0.1865, allocations: 232.7 kB / 0.705 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.373e-05/0.1866, allocations: 4 kB / 0.705 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.1866, allocations: 34.56 kB / 0.705 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 1.593e-06/0.1866, allocations: 0 / 0.705 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.006722/0.1933, allocations: 2.022 MB / 0.707 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.1934, allocations: 55.41 kB / 0.7071 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006599/0.1941, allocations: 0.5704 MB / 0.7076 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.931e-05/0.1941, allocations: 29.7 kB / 0.7076 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00024/0.1944, allocations: 356.2 kB / 0.708 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.1945, allocations: 157.8 kB / 0.7081 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/0.1947, allocations: 90.16 kB / 0.7082 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.1948, allocations: 378.6 kB / 0.7086 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000658/0.1955, allocations: 262.9 kB / 0.7088 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006958/0.1962, allocations: 353.8 kB / 0.7092 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/0.1976, allocations: 0.6303 MB / 0.7098 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1976, allocations: 0 / 0.7098 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002423/0.2, allocations: 0.9313 MB / 0.7107 GB, free: 460 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.2, allocations: 8.031 kB / 0.7107 GB, free: 452 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.2, allocations: 4 kB / 0.7107 GB, free: 448 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001165/0.2012, allocations: 276.8 kB / 0.711 GB, free: 152 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006132/0.2018, allocations: 119.8 kB / 0.7111 GB, free: 32 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00667/0.2085, allocations: 8.449 MB / 0.7193 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006602/0.2092, allocations: 39.94 kB / 0.7194 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.09e-05/0.2093, allocations: 20 kB / 0.7194 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008836/0.2101, allocations: 437.7 kB / 0.7198 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006785/0.2108, allocations: 357.4 kB / 0.7202 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001273/0.2121, allocations: 0.6093 MB / 0.7207 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.194e-06/0.2121, allocations: 0 / 0.7207 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.00241/0.2145, allocations: 1.129 MB / 0.7219 GB, free: 4.051 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.2146, allocations: 4 kB / 0.7219 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.2146, allocations: 4 kB / 0.7219 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008167/0.2154, allocations: 229.2 kB / 0.7221 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000588/0.216, allocations: 115.8 kB / 0.7222 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006058/0.2221, allocations: 8.161 MB / 0.7302 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007071/0.2228, allocations: 44.08 kB / 0.7302 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.254e-05/0.2229, allocations: 23.98 kB / 0.7302 GB, free: 10.66 MB / 0.5294 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.0002268/0.2231, allocations: 216.7 kB / 0.7304 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.2232, allocations: 63.25 kB / 0.7305 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001795/0.2234, allocations: 86.38 kB / 0.7306 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.2234, allocations: 4.141 kB / 0.7306 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.2234, allocations: 0 / 0.7306 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.2234, allocations: 3.984 kB / 0.7306 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008021/0.2242, allocations: 0.6571 MB / 0.7312 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.2243, allocations: 0 / 0.7312 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004873/0.2248, allocations: 91.84 kB / 0.7313 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009689/0.2257, allocations: 256.8 kB / 0.7316 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.528e-05/0.2258, allocations: 11.94 kB / 0.7316 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006469/0.2323, allocations: 8.392 MB / 0.7398 GB, free: 12 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2323, allocations: 4.125 kB / 0.7398 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002246/0.2345, allocations: 0.9091 MB / 0.7407 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003098/0.2349, allocations: 188.2 kB / 0.7408 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.019e-05/0.235, allocations: 8 kB / 0.7408 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004816/0.2355, allocations: 39.95 kB / 0.7409 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/0.2356, allocations: 43.89 kB / 0.7409 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-05/0.2357, allocations: 12 kB / 0.7409 GB, free: 14.76 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005029/0.2362, allocations: 403 kB / 0.7413 GB, free: 14.37 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2362, allocations: 0 / 0.7413 GB, free: 14.37 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001241/0.2374, allocations: 304 kB / 0.7416 GB, free: 14.07 MB / 0.545 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.0001858/0.2376, allocations: 111.2 kB / 0.7417 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003725/0.2414, allocations: 2.334 MB / 0.744 GB, free: 11.47 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.2414, allocations: 4.125 kB / 0.744 GB, free: 11.46 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001285/0.2427, allocations: 1.004 MB / 0.745 GB, free: 10.38 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.2438, allocations: 229.7 kB / 0.7452 GB, free: 10.16 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002423/0.2462, allocations: 1.549 MB / 0.7467 GB, free: 8.59 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005127/0.2467, allocations: 0.982 MB / 0.7477 GB, free: 7.582 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005719/0.2473, allocations: 157.3 kB / 0.7478 GB, free: 7.426 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.2474, allocations: 43.44 kB / 0.7479 GB, free: 7.383 MB / 0.545 GB Notification: Performance of SimCode: time 6.82e-07/0.2474, allocations: 0 / 0.7479 GB, free: 7.383 MB / 0.545 GB Notification: Performance of Templates: time 0.01976/0.2672, allocations: 12.82 MB / 0.7604 GB, free: 10.7 MB / 0.5606 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)