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.001425/0.001425, allocations: 104.9 kB / 16.35 MB, free: 5.824 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.001631/0.001631, allocations: 190.5 kB / 17.29 MB, free: 5.48 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 / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002186/0.002186, allocations: 292.2 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9312/0.9312, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001711, allocations: 93.08 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1416, allocations: 86.97 MB / 0.6816 GB, free: 7.438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.00724/0.1489, allocations: 6.077 MB / 0.6875 GB, free: 1.332 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.2643/0.4132, allocations: 3.128 MB / 0.6906 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007045/0.4139, allocations: 33.66 kB / 0.6906 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003762/0.4178, allocations: 0.9324 MB / 0.6915 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001945/0.4197, allocations: 470.7 kB / 0.692 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002099/0.4219, allocations: 490.8 kB / 0.6924 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002068/0.424, allocations: 1.096 MB / 0.6935 GB, free: 12.58 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001456/0.4254, allocations: 0.6415 MB / 0.6941 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.4265, allocations: 435.9 kB / 0.6946 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/0.4276, allocations: 475.6 kB / 0.695 GB, free: 12.14 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002225/0.4278, allocations: 58.72 kB / 0.6951 GB, free: 12.14 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001361/0.4292, allocations: 491.4 kB / 0.6955 GB, free: 12.03 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005007/0.4297, allocations: 289 kB / 0.6958 GB, free: 11.92 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008355/0.4305, allocations: 398.7 kB / 0.6962 GB, free: 11.69 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002168/0.4327, allocations: 1.164 MB / 0.6973 GB, free: 11.33 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4328, allocations: 0 / 0.6973 GB, free: 11.33 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4328, allocations: 3.938 kB / 0.6973 GB, free: 11.33 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.788e-05/0.4328, allocations: 0.7812 kB / 0.6973 GB, free: 11.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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002589/0.4354, allocations: 1.052 MB / 0.6984 GB, free: 10.58 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.4355, allocations: 9.281 kB / 0.6984 GB, free: 10.58 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002073/0.4376, allocations: 220.2 kB / 0.6986 GB, free: 10.53 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.4386, allocations: 0.5923 MB / 0.6992 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.833e-05/0.4387, allocations: 45.2 kB / 0.6992 GB, free: 10.14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.4388, allocations: 64.02 kB / 0.6993 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/0.4404, allocations: 1.027 MB / 0.7003 GB, free: 9.523 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.489e-05/0.4405, allocations: 15.91 kB / 0.7003 GB, free: 9.512 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-05/0.4406, allocations: 33.03 kB / 0.7003 GB, free: 9.492 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001108/0.4407, allocations: 70.44 kB / 0.7004 GB, free: 9.484 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.4419, allocations: 0.6909 MB / 0.7011 GB, free: 9.242 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004479/0.4464, allocations: 5.731 MB / 0.7067 GB, free: 4.312 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007874/0.4472, allocations: 0.5939 MB / 0.7072 GB, free: 3.941 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007402/0.448, allocations: 421.9 kB / 0.7076 GB, free: 3.809 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.176e-05/0.448, allocations: 8.844 kB / 0.7076 GB, free: 3.805 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/0.448, allocations: 36.62 kB / 0.7077 GB, free: 3.762 MB / 494.1 MB Notification: Performance of pre-optimization done (n=41): time 1.763e-06/0.4481, allocations: 1.156 kB / 0.7077 GB, free: 3.762 MB / 494.1 MB Notification: Performance of matching and sorting (n=42): time 0.004312/0.4524, allocations: 2.05 MB / 0.7097 GB, free: 2.715 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.4524, allocations: 56.38 kB / 0.7097 GB, free: 2.652 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005316/0.4529, allocations: 462.4 kB / 0.7102 GB, free: 2.434 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.453, allocations: 31.52 kB / 0.7102 GB, free: 2.398 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.4532, allocations: 387.2 kB / 0.7106 GB, free: 2.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.575e-05/0.4533, allocations: 151.6 kB / 0.7107 GB, free: 1.977 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.4534, allocations: 111.4 kB / 0.7108 GB, free: 1.914 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.405e-05/0.4535, allocations: 369.5 kB / 0.7112 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003354/0.4539, allocations: 244.1 kB / 0.7114 GB, free: 1.492 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004241/0.4543, allocations: 462.6 kB / 0.7119 GB, free: 1.133 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008068/0.4551, allocations: 0.7589 MB / 0.7126 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.4551, allocations: 2.625 kB / 0.7126 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001818/0.4569, allocations: 1.051 MB / 0.7136 GB, free: 188 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.457, allocations: 12.31 kB / 0.7136 GB, free: 184 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.457, allocations: 14.12 kB / 0.7136 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/0.458, allocations: 333.4 kB / 0.714 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003001/0.4583, allocations: 99.19 kB / 0.7141 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007247/0.4656, allocations: 7.505 MB / 0.7214 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004039/0.466, allocations: 32.52 kB / 0.7214 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.747e-05/0.466, allocations: 28.06 kB / 0.7214 GB, free: 9.672 MB / 0.4981 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.0003253/0.4664, allocations: 244 kB / 0.7217 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.99e-05/0.4665, allocations: 60.88 kB / 0.7217 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001749/0.4682, allocations: 0.9191 MB / 0.7226 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.4683, allocations: 4.578 kB / 0.7226 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/0.4683, allocations: 4.094 kB / 0.7226 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.4683, allocations: 3.234 kB / 0.7226 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002837/0.4711, allocations: 1.713 MB / 0.7243 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.4711, allocations: 2.281 kB / 0.7243 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.4713, allocations: 43.38 kB / 0.7244 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009317/0.4723, allocations: 322.9 kB / 0.7247 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.752e-05/0.4723, allocations: 12.78 kB / 0.7247 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006821/0.4791, allocations: 7.518 MB / 0.732 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.4792, allocations: 2.812 kB / 0.732 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.4809, allocations: 1.011 MB / 0.733 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003373/0.4812, allocations: 176.6 kB / 0.7332 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.4813, allocations: 8.438 kB / 0.7332 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003026/0.4816, allocations: 29.47 kB / 0.7332 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.4818, allocations: 36.81 kB / 0.7333 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.222e-05/0.4818, allocations: 14.19 kB / 0.7333 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003471/0.4822, allocations: 309 kB / 0.7336 GB, free: 472 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4822, allocations: 0 / 0.7336 GB, free: 472 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008657/0.483, allocations: 193.6 kB / 0.7337 GB, free: 452 kB / 0.4981 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.0001397/0.4832, allocations: 110.6 kB / 0.7339 GB, free: 348 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001871/0.4851, allocations: 1.214 MB / 0.735 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.4851, allocations: 4.125 kB / 0.735 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001176/0.4863, allocations: 0.8642 MB / 0.7359 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.4873, allocations: 201.1 kB / 0.7361 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.4893, allocations: 1.225 MB / 0.7373 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005931/0.4899, allocations: 0.9904 MB / 0.7382 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002952/0.4902, allocations: 101.5 kB / 0.7383 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.492e-05/0.4903, allocations: 35.94 kB / 0.7384 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of SimCode: time 4.91e-07/0.4903, allocations: 0 / 0.7384 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of Templates: time 0.01685/0.5072, allocations: 9.963 MB / 0.7481 GB, free: 7.934 MB / 0.5137 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)