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.0007757/0.0007757, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008269/0.0008269, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001695/0.001695, allocations: 270.9 kB / 291.3 MB, free: 1.965 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.959/0.959, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007011/0.0007012, allocations: 15.86 kB / 0.598 GB, free: 28.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1828, allocations: 88.55 MB / 0.6845 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.005618/0.1885, allocations: 5.37 MB / 0.6897 GB, free: 10.04 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003888/0.1924, allocations: 2.957 MB / 0.6926 GB, free: 7.082 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002666/0.1927, allocations: 23.81 kB / 0.6926 GB, free: 7.059 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000283/0.193, allocations: 119 kB / 0.6928 GB, free: 6.941 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007186/0.1937, allocations: 373.6 kB / 0.6931 GB, free: 6.578 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007804/0.1945, allocations: 359.5 kB / 0.6935 GB, free: 6.23 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001004/0.1955, allocations: 1.213 MB / 0.6946 GB, free: 5.016 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/0.1969, allocations: 0.9028 MB / 0.6955 GB, free: 4.094 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003996/0.1973, allocations: 362.5 kB / 0.6959 GB, free: 3.738 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004544/0.1978, allocations: 434.4 kB / 0.6963 GB, free: 3.312 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.729e-05/0.1979, allocations: 32 kB / 0.6963 GB, free: 3.281 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004435/0.1983, allocations: 255.6 kB / 0.6966 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002098/0.1985, allocations: 251.3 kB / 0.6968 GB, free: 2.785 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.1987, allocations: 161.3 kB / 0.697 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000717/0.1994, allocations: 0.8766 MB / 0.6978 GB, free: 1.742 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1994, allocations: 0 / 0.6978 GB, free: 1.742 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1994, allocations: 0 / 0.6978 GB, free: 1.742 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.1994, allocations: 0 / 0.6978 GB, free: 1.742 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001178/0.2006, allocations: 0.9192 MB / 0.6987 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.2006, allocations: 8.031 kB / 0.6987 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/0.202, allocations: 222.8 kB / 0.6989 GB, free: 0.543 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006797/0.2027, allocations: 0.521 MB / 0.6994 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.663e-05/0.2027, allocations: 53.23 kB / 0.6995 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-05/0.2028, allocations: 56 kB / 0.6995 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.2041, allocations: 1.026 MB / 0.7005 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/0.2041, allocations: 15.84 kB / 0.7006 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.086e-05/0.2042, allocations: 24 kB / 0.7006 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-05/0.2043, allocations: 69.27 kB / 0.7006 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009425/0.2052, allocations: 0.6879 MB / 0.7013 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004196/0.2095, allocations: 5.776 MB / 0.707 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007306/0.2102, allocations: 0.5892 MB / 0.7075 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006758/0.2109, allocations: 420.6 kB / 0.7079 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/0.2109, allocations: 4 kB / 0.7079 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.211, allocations: 34.56 kB / 0.708 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 1.764e-06/0.211, allocations: 4 kB / 0.708 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.003795/0.2148, allocations: 2.057 MB / 0.71 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.2148, allocations: 55.41 kB / 0.71 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004055/0.2152, allocations: 450.8 kB / 0.7105 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.2153, allocations: 29.7 kB / 0.7105 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000218/0.2155, allocations: 395 kB / 0.7109 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.2156, allocations: 153.7 kB / 0.711 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/0.2156, allocations: 8 kB / 0.711 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.2158, allocations: 374.7 kB / 0.7114 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003218/0.2161, allocations: 241.2 kB / 0.7116 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004445/0.2165, allocations: 457 kB / 0.7121 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004087/0.217, allocations: 307.8 kB / 0.7123 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.217, allocations: 4 kB / 0.7123 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001655/0.2186, allocations: 1.054 MB / 0.7134 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.411e-05/0.2187, allocations: 12.03 kB / 0.7134 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.2187, allocations: 8 kB / 0.7134 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009332/0.2196, allocations: 327.1 kB / 0.7137 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.2199, allocations: 95.83 kB / 0.7138 GB, free: 428 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006159/0.2261, allocations: 6.951 MB / 0.7206 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.2264, allocations: 24.03 kB / 0.7206 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.222e-05/0.2265, allocations: 32.27 kB / 0.7206 GB, free: 8.871 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 7,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003029/0.2268, allocations: 238.9 kB / 0.7209 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.058e-05/0.2269, allocations: 63.34 kB / 0.7209 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001605/0.2285, allocations: 0.9158 MB / 0.7218 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.2285, allocations: 4 kB / 0.7218 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.2285, allocations: 4 kB / 0.7218 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2285, allocations: 0 / 0.7218 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002387/0.2309, allocations: 1.705 MB / 0.7235 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2309, allocations: 0 / 0.7235 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.2311, allocations: 47.91 kB / 0.7235 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008477/0.2319, allocations: 323.3 kB / 0.7239 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/0.232, allocations: 8 kB / 0.7239 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005886/0.2379, allocations: 6.932 MB / 0.7306 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.2379, allocations: 8 kB / 0.7306 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/0.2394, allocations: 0.9993 MB / 0.7316 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002036/0.2397, allocations: 176.3 kB / 0.7318 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.303e-05/0.2397, allocations: 11.95 kB / 0.7318 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/0.24, allocations: 28.25 kB / 0.7318 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.995e-05/0.2401, allocations: 39.89 kB / 0.7319 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/0.2401, allocations: 19.98 kB / 0.7319 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003036/0.2404, allocations: 306.8 kB / 0.7322 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2404, allocations: 0 / 0.7322 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007367/0.2411, allocations: 192 kB / 0.7324 GB, free: 12.16 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000142/0.2413, allocations: 107.2 kB / 0.7325 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001632/0.2429, allocations: 1.207 MB / 0.7336 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.243, allocations: 4 kB / 0.7336 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.244, allocations: 0.8583 MB / 0.7345 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008517/0.2449, allocations: 186.6 kB / 0.7347 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.2467, allocations: 1.478 MB / 0.7361 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005277/0.2473, allocations: 0.9998 MB / 0.7371 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002673/0.2475, allocations: 97.17 kB / 0.7372 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.488e-05/0.2476, allocations: 35.44 kB / 0.7372 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of SimCode: time 2.21e-07/0.2476, allocations: 0 / 0.7372 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of Templates: time 0.01408/0.2617, allocations: 9.191 MB / 0.7462 GB, free: 13.92 MB / 0.545 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)