Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001352, allocations: 107.4 kB / 15.23 MB, free: 0.6406 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.001373/0.001373, allocations: 196.9 kB / 16.14 MB, free: 6.715 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.418/1.418, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002495/0.002495, allocations: 298.8 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.087/1.087, allocations: 178.6 MB / 0.5068 GB, free: 4.754 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002911/0.002911, allocations: 95.31 kB / 0.6057 GB, free: 25.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1608, allocations: 89.16 MB / 0.6928 GB, free: 4.801 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.008487/0.1694, allocations: 6.077 MB / 0.6987 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00523/0.1746, allocations: 3.17 MB / 0.7018 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000496/0.1751, allocations: 27.81 kB / 0.7019 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002306/0.1775, allocations: 0.8712 MB / 0.7027 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00112/0.1786, allocations: 445.9 kB / 0.7031 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.1797, allocations: 443.1 kB / 0.7036 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001649/0.1814, allocations: 1.455 MB / 0.705 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.1824, allocations: 0.6211 MB / 0.7056 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006194/0.1831, allocations: 394.3 kB / 0.706 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006161/0.1837, allocations: 482.2 kB / 0.7064 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.246e-05/0.1838, allocations: 44 kB / 0.7065 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009463/0.1848, allocations: 0.5769 MB / 0.707 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.00028/0.185, allocations: 279.2 kB / 0.7073 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004275/0.1855, allocations: 378 kB / 0.7076 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.1868, allocations: 1.184 MB / 0.7088 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1868, allocations: 4 kB / 0.7088 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of FrontEnd: time 6.01e-07/0.1868, allocations: 0 / 0.7088 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.1868, allocations: 0 / 0.7088 GB, free: 4.363 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001578/0.1884, allocations: 1.052 MB / 0.7098 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.1885, allocations: 16.03 kB / 0.7099 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001495/0.19, allocations: 223.6 kB / 0.7101 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007627/0.1907, allocations: 0.5259 MB / 0.7106 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.622e-05/0.1908, allocations: 49.67 kB / 0.7106 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.1909, allocations: 64.3 kB / 0.7107 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.1924, allocations: 1.03 MB / 0.7117 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.117e-05/0.1924, allocations: 15.83 kB / 0.7117 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.034e-05/0.1925, allocations: 31.98 kB / 0.7117 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.161e-05/0.1926, allocations: 61.28 kB / 0.7118 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.1937, allocations: 0.6918 MB / 0.7125 GB, free: 424 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005413/0.1991, allocations: 5.756 MB / 0.7181 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009296/0.2001, allocations: 0.5988 MB / 0.7187 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008269/0.2009, allocations: 424.6 kB / 0.7191 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.74e-05/0.201, allocations: 4 kB / 0.7191 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.201, allocations: 30.56 kB / 0.7191 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=41): time 1.553e-06/0.201, allocations: 0 / 0.7191 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42): time 0.004526/0.2055, allocations: 2.054 MB / 0.7211 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.2056, allocations: 59.39 kB / 0.7212 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005262/0.2061, allocations: 458.7 kB / 0.7216 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.2062, allocations: 29.7 kB / 0.7216 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002908/0.2065, allocations: 391 kB / 0.722 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.2066, allocations: 145.9 kB / 0.7222 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/0.2068, allocations: 110.2 kB / 0.7223 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.207, allocations: 362.8 kB / 0.7226 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003862/0.2074, allocations: 253.2 kB / 0.7228 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000609/0.208, allocations: 457 kB / 0.7233 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.2091, allocations: 0.7558 MB / 0.724 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.2091, allocations: 4 kB / 0.724 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001953/0.211, allocations: 1.066 MB / 0.7251 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.2111, allocations: 9.719 kB / 0.7251 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.2111, allocations: 8 kB / 0.7251 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/0.2122, allocations: 327.3 kB / 0.7254 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000298/0.2125, allocations: 99.81 kB / 0.7255 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007762/0.2203, allocations: 6.957 MB / 0.7323 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003208/0.2206, allocations: 32.02 kB / 0.7323 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.763e-05/0.2207, allocations: 28 kB / 0.7323 GB, free: 10.68 MB / 0.5294 GB 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.0003212/0.221, allocations: 250.3 kB / 0.7326 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.2211, allocations: 59.53 kB / 0.7326 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001804/0.2229, allocations: 0.9155 MB / 0.7335 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.2229, allocations: 4 kB / 0.7335 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.2229, allocations: 7.938 kB / 0.7335 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.2229, allocations: 7.984 kB / 0.7336 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002752/0.2257, allocations: 1.697 MB / 0.7352 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.2257, allocations: 8.188 kB / 0.7352 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.2259, allocations: 39.91 kB / 0.7353 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009863/0.2269, allocations: 327 kB / 0.7356 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.052e-05/0.2269, allocations: 12 kB / 0.7356 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007245/0.2342, allocations: 6.943 MB / 0.7424 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.2342, allocations: 0 / 0.7424 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/0.2359, allocations: 1.015 MB / 0.7433 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002183/0.2362, allocations: 172.3 kB / 0.7435 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.739e-05/0.2362, allocations: 12 kB / 0.7435 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002605/0.2365, allocations: 23.97 kB / 0.7435 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.2366, allocations: 43.89 kB / 0.7436 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.918e-05/0.2367, allocations: 12.22 kB / 0.7436 GB, free: 14.41 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003432/0.237, allocations: 310.9 kB / 0.7439 GB, free: 14.11 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.237, allocations: 0 / 0.7439 GB, free: 14.11 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007033/0.2377, allocations: 199.9 kB / 0.7441 GB, free: 13.92 MB / 0.545 GB 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.0001518/0.2379, allocations: 111.2 kB / 0.7442 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001885/0.2398, allocations: 1.202 MB / 0.7454 GB, free: 12.54 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2398, allocations: 0 / 0.7454 GB, free: 12.54 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001267/0.2411, allocations: 0.8659 MB / 0.7462 GB, free: 11.62 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009501/0.242, allocations: 184.5 kB / 0.7464 GB, free: 11.45 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002207/0.2442, allocations: 1.516 MB / 0.7479 GB, free: 9.887 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006605/0.2449, allocations: 0.9882 MB / 0.7488 GB, free: 8.871 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002798/0.2452, allocations: 101.2 kB / 0.7489 GB, free: 8.773 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.628e-05/0.2453, allocations: 35.44 kB / 0.749 GB, free: 8.738 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.2453, allocations: 3.938 kB / 0.749 GB, free: 8.734 MB / 0.545 GB Notification: Performance of Templates: time 0.01707/0.2624, allocations: 9.641 MB / 0.7584 GB, free: 15.19 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)