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.001507/0.001507, allocations: 105.4 kB / 15.98 MB, free: 6.336 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.001447/0.001447, allocations: 197.6 kB / 16.91 MB, free: 6.191 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.361/1.361, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002504/0.002504, allocations: 296.4 kB / 291 MB, free: 14.63 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.185/1.185, allocations: 178.5 MB / 0.5076 GB, free: 12.7 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002712/0.002712, allocations: 96.27 kB / 0.6066 GB, free: 9.691 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1734, allocations: 89.14 MB / 0.6936 GB, free: 472 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLine): time 0.00833/0.1818, allocations: 6.281 MB / 0.6998 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00673/0.1886, allocations: 4.495 MB / 0.7042 GB, free: 5.629 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005538/0.1892, allocations: 23.88 kB / 0.7042 GB, free: 5.605 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002417/0.1916, allocations: 0.8554 MB / 0.705 GB, free: 4.75 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002097/0.1937, allocations: 0.7106 MB / 0.7057 GB, free: 4.039 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007153/0.1944, allocations: 291.5 kB / 0.706 GB, free: 3.754 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001482/0.1959, allocations: 1.144 MB / 0.7071 GB, free: 2.605 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001104/0.197, allocations: 0.7747 MB / 0.7079 GB, free: 1.828 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006446/0.1977, allocations: 474.3 kB / 0.7083 GB, free: 1.363 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000686/0.1984, allocations: 0.5214 MB / 0.7088 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.811e-05/0.1985, allocations: 68 kB / 0.7089 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005307/0.199, allocations: 279.5 kB / 0.7091 GB, free: 0.5 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002284/0.1993, allocations: 251.3 kB / 0.7094 GB, free: 260 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.2722/0.4715, allocations: 404.4 kB / 0.7098 GB, free: 38.74 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001069/0.4726, allocations: 0.8452 MB / 0.7106 GB, free: 38.71 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4727, allocations: 0 / 0.7106 GB, free: 38.71 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4727, allocations: 0 / 0.7106 GB, free: 38.71 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.4727, allocations: 0 / 0.7106 GB, free: 38.71 MB / 0.545 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.001643/0.4743, allocations: 1.1 MB / 0.7117 GB, free: 38.09 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.4744, allocations: 10.09 kB / 0.7117 GB, free: 38.09 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003038/0.4774, allocations: 0.6292 MB / 0.7123 GB, free: 38.05 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007173/0.4782, allocations: 0.5414 MB / 0.7128 GB, free: 37.77 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.279e-05/0.4782, allocations: 38.66 kB / 0.7129 GB, free: 37.77 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.166e-05/0.4783, allocations: 51.23 kB / 0.7129 GB, free: 37.77 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001683/0.48, allocations: 1.023 MB / 0.7139 GB, free: 37.63 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.48, allocations: 2.25 kB / 0.7139 GB, free: 37.63 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.217e-05/0.4801, allocations: 19.75 kB / 0.7139 GB, free: 37.63 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.967e-05/0.4802, allocations: 50.25 kB / 0.714 GB, free: 37.62 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002007/0.4822, allocations: 1.007 MB / 0.715 GB, free: 37.61 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003319/0.4855, allocations: 3.495 MB / 0.7184 GB, free: 35.41 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001261/0.4868, allocations: 499.1 kB / 0.7189 GB, free: 35.38 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004776/0.4873, allocations: 225.8 kB / 0.7191 GB, free: 35.37 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.485e-05/0.4873, allocations: 9.062 kB / 0.7191 GB, free: 35.37 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.4873, allocations: 43.09 kB / 0.7191 GB, free: 35.32 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 2.615e-06/0.4874, allocations: 2.625 kB / 0.7191 GB, free: 35.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=43): time 0.006292/0.4936, allocations: 2.004 MB / 0.7211 GB, free: 34.97 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.4937, allocations: 57.44 kB / 0.7211 GB, free: 34.91 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000574/0.4943, allocations: 0.5704 MB / 0.7217 GB, free: 34.78 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.778e-05/0.4943, allocations: 35.45 kB / 0.7217 GB, free: 34.75 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.4945, allocations: 355.9 kB / 0.7221 GB, free: 34.58 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.169e-05/0.4946, allocations: 147.5 kB / 0.7222 GB, free: 34.48 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.4947, allocations: 91.47 kB / 0.7223 GB, free: 34.46 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.55e-05/0.4948, allocations: 373.4 kB / 0.7226 GB, free: 34.15 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005686/0.4954, allocations: 261.9 kB / 0.7229 GB, free: 34.14 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006229/0.496, allocations: 359 kB / 0.7232 GB, free: 34.01 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.4972, allocations: 0.6274 MB / 0.7239 GB, free: 33.88 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.4972, allocations: 3.938 kB / 0.7239 GB, free: 33.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002114/0.4993, allocations: 0.93 MB / 0.7248 GB, free: 33.74 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.4994, allocations: 6.531 kB / 0.7248 GB, free: 33.74 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.4994, allocations: 3.875 kB / 0.7248 GB, free: 33.74 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001061/0.5004, allocations: 281.6 kB / 0.725 GB, free: 33.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005635/0.501, allocations: 117.7 kB / 0.7252 GB, free: 33.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005309/0.5063, allocations: 9.112 MB / 0.7341 GB, free: 24.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007003/0.5071, allocations: 41.89 kB / 0.7341 GB, free: 24.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.125e-05/0.5071, allocations: 19.25 kB / 0.7341 GB, free: 24.94 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007877/0.5079, allocations: 437.7 kB / 0.7345 GB, free: 24.74 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005991/0.5085, allocations: 356.8 kB / 0.7349 GB, free: 24.55 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001142/0.5097, allocations: 0.6147 MB / 0.7355 GB, free: 24.26 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.825e-06/0.5097, allocations: 2.969 kB / 0.7355 GB, free: 24.26 MB / 0.545 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002238/0.5119, allocations: 1.12 MB / 0.7366 GB, free: 23.65 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.512, allocations: 8.469 kB / 0.7366 GB, free: 23.65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.512, allocations: 5.094 kB / 0.7366 GB, free: 23.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007585/0.5128, allocations: 229.4 kB / 0.7368 GB, free: 23.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005861/0.5134, allocations: 127.3 kB / 0.7369 GB, free: 23.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005883/0.5193, allocations: 8.787 MB / 0.7455 GB, free: 30.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007629/0.5201, allocations: 43.39 kB / 0.7455 GB, free: 30.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.665e-05/0.5201, allocations: 18.31 kB / 0.7456 GB, free: 30.95 MB / 0.5606 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.0002349/0.5203, allocations: 213 kB / 0.7458 GB, free: 30.74 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.547e-05/0.5204, allocations: 72.81 kB / 0.7458 GB, free: 30.71 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001651/0.5206, allocations: 76.83 kB / 0.7459 GB, free: 30.65 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.5206, allocations: 6.375 kB / 0.7459 GB, free: 30.65 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/0.5206, allocations: 0 / 0.7459 GB, free: 30.65 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.5207, allocations: 3.422 kB / 0.7459 GB, free: 30.65 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007076/0.5214, allocations: 0.655 MB / 0.7466 GB, free: 30.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.5214, allocations: 3.938 kB / 0.7466 GB, free: 30.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004848/0.5219, allocations: 89.64 kB / 0.7466 GB, free: 30.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008918/0.5228, allocations: 261.8 kB / 0.7469 GB, free: 30.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.419e-05/0.5228, allocations: 9.953 kB / 0.7469 GB, free: 30.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00657/0.5294, allocations: 9.064 MB / 0.7558 GB, free: 21.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.5294, allocations: 3.188 kB / 0.7558 GB, free: 21.46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002089/0.5315, allocations: 0.9134 MB / 0.7566 GB, free: 21.05 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002627/0.5318, allocations: 183.9 kB / 0.7568 GB, free: 20.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.097e-05/0.5319, allocations: 6.656 kB / 0.7568 GB, free: 20.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004869/0.5324, allocations: 42.53 kB / 0.7569 GB, free: 20.89 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.5325, allocations: 44.8 kB / 0.7569 GB, free: 20.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.087e-05/0.5326, allocations: 12.05 kB / 0.7569 GB, free: 20.88 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004178/0.533, allocations: 399.5 kB / 0.7573 GB, free: 20.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.533, allocations: 2.625 kB / 0.7573 GB, free: 20.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001052/0.5341, allocations: 302.3 kB / 0.7576 GB, free: 20.67 MB / 0.5606 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.000157/0.5342, allocations: 117.3 kB / 0.7577 GB, free: 20.57 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003534/0.5378, allocations: 2.393 MB / 0.76 GB, free: 18.93 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.5378, allocations: 9.094 kB / 0.7601 GB, free: 18.93 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001251/0.539, allocations: 1.001 MB / 0.761 GB, free: 18.15 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.5401, allocations: 237.4 kB / 0.7613 GB, free: 18.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/0.5424, allocations: 1.617 MB / 0.7628 GB, free: 17.13 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005595/0.5429, allocations: 0.9868 MB / 0.7638 GB, free: 16.39 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.5431, allocations: 54.89 kB / 0.7639 GB, free: 16.38 MB / 0.5606 GB Notification: Performance of SimCode: time 9.52e-07/0.5431, allocations: 2.438 kB / 0.7639 GB, free: 16.38 MB / 0.5606 GB Notification: Performance of Templates: time 0.03246/0.5756, allocations: 26.96 MB / 0.7902 GB, free: 9.395 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)