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.001161/0.001161, allocations: 102.2 kB / 16.27 MB, free: 6 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.001069/0.001069, allocations: 191 kB / 17.2 MB, free: 5.609 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.376/1.376, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002109/0.002109, allocations: 292.3 kB / 291.3 MB, free: 14.53 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9329/0.9329, allocations: 169.2 MB / 0.4988 GB, free: 4.508 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 96.06 kB / 0.5959 GB, free: 15.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1852, allocations: 86.97 MB / 0.6808 GB, free: 8.195 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.008491/0.1937, allocations: 6.064 MB / 0.6868 GB, free: 2.102 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.335/0.5287, allocations: 3.135 MB / 0.6898 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006471/0.5294, allocations: 29 kB / 0.6899 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002349/0.5318, allocations: 0.9335 MB / 0.6908 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001246/0.5331, allocations: 470.3 kB / 0.6912 GB, free: 12.24 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.5343, allocations: 490.2 kB / 0.6917 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001061/0.5354, allocations: 1.091 MB / 0.6927 GB, free: 12.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009814/0.5364, allocations: 0.6487 MB / 0.6934 GB, free: 11.95 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005791/0.537, allocations: 430.9 kB / 0.6938 GB, free: 11.87 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005945/0.5376, allocations: 475.1 kB / 0.6942 GB, free: 11.78 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001185/0.5377, allocations: 58.28 kB / 0.6943 GB, free: 11.78 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009119/0.5386, allocations: 492.5 kB / 0.6948 GB, free: 11.73 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002964/0.5389, allocations: 292.4 kB / 0.6951 GB, free: 11.67 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003673/0.5393, allocations: 396.7 kB / 0.6954 GB, free: 11.44 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001406/0.5407, allocations: 1.16 MB / 0.6966 GB, free: 11.08 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.5407, allocations: 4.688 kB / 0.6966 GB, free: 11.07 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5407, allocations: 0 / 0.6966 GB, free: 11.07 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.5408, allocations: 0 / 0.6966 GB, free: 11.07 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.00146/0.5422, allocations: 1.053 MB / 0.6976 GB, free: 10.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.5423, allocations: 10.11 kB / 0.6976 GB, free: 10.32 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001486/0.5438, allocations: 216.5 kB / 0.6978 GB, free: 10.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007149/0.5445, allocations: 0.5357 MB / 0.6983 GB, free: 9.914 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.524e-05/0.5445, allocations: 45.25 kB / 0.6984 GB, free: 9.898 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.5447, allocations: 63.89 kB / 0.6984 GB, free: 9.879 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.546, allocations: 1.032 MB / 0.6994 GB, free: 9.277 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.038e-05/0.5461, allocations: 19.38 kB / 0.6995 GB, free: 9.262 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.89e-05/0.5461, allocations: 31.98 kB / 0.6995 GB, free: 9.246 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.363e-05/0.5462, allocations: 66.33 kB / 0.6996 GB, free: 9.238 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.5473, allocations: 0.6965 MB / 0.7002 GB, free: 8.992 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00404/0.5513, allocations: 5.75 MB / 0.7059 GB, free: 4.051 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000783/0.5521, allocations: 0.5939 MB / 0.7064 GB, free: 3.68 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007968/0.5529, allocations: 418.7 kB / 0.7068 GB, free: 3.551 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.238e-05/0.553, allocations: 3.844 kB / 0.7068 GB, free: 3.551 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.553, allocations: 41.39 kB / 0.7069 GB, free: 3.504 MB / 494.1 MB Notification: Performance of pre-optimization done (n=41): time 1.983e-06/0.553, allocations: 0 / 0.7069 GB, free: 3.504 MB / 494.1 MB Notification: Performance of matching and sorting (n=42): time 0.004305/0.5573, allocations: 2.05 MB / 0.7089 GB, free: 2.461 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.5574, allocations: 60.5 kB / 0.7089 GB, free: 2.395 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005005/0.5579, allocations: 453.4 kB / 0.7094 GB, free: 2.184 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.5579, allocations: 39.73 kB / 0.7094 GB, free: 2.141 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.5581, allocations: 384.9 kB / 0.7098 GB, free: 1.836 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.759e-05/0.5582, allocations: 157.5 kB / 0.7099 GB, free: 1.715 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.5584, allocations: 108.5 kB / 0.71 GB, free: 1.656 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.412e-05/0.5585, allocations: 361 kB / 0.7104 GB, free: 1.324 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003798/0.5589, allocations: 248.1 kB / 0.7106 GB, free: 1.238 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004371/0.5593, allocations: 465.3 kB / 0.7111 GB, free: 0.875 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008578/0.5602, allocations: 0.7456 MB / 0.7118 GB, free: 380 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.5602, allocations: 6.75 kB / 0.7118 GB, free: 376 kB / 494.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001872/0.5621, allocations: 1.057 MB / 0.7128 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.5621, allocations: 13.41 kB / 0.7128 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.5621, allocations: 6.406 kB / 0.7128 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001118/0.5632, allocations: 337.7 kB / 0.7132 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003113/0.5636, allocations: 99.06 kB / 0.7133 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007567/0.5711, allocations: 7.516 MB / 0.7206 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004108/0.5716, allocations: 33.36 kB / 0.7206 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.412e-05/0.5716, allocations: 29.39 kB / 0.7207 GB, free: 9.406 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.0003533/0.572, allocations: 241.5 kB / 0.7209 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.962e-05/0.5721, allocations: 60.59 kB / 0.7209 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/0.574, allocations: 0.9164 MB / 0.7218 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.574, allocations: 4.594 kB / 0.7218 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.574, allocations: 7.375 kB / 0.7218 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.574, allocations: 4.125 kB / 0.7219 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002902/0.5769, allocations: 1.701 MB / 0.7235 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.5769, allocations: 5.375 kB / 0.7235 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.5771, allocations: 42.06 kB / 0.7236 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009502/0.5781, allocations: 330.4 kB / 0.7239 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.239e-05/0.5781, allocations: 10.78 kB / 0.7239 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007078/0.5852, allocations: 7.503 MB / 0.7312 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.5852, allocations: 5.375 kB / 0.7312 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/0.5869, allocations: 1.011 MB / 0.7322 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002474/0.5872, allocations: 177.5 kB / 0.7324 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.072e-05/0.5872, allocations: 11.94 kB / 0.7324 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002785/0.5875, allocations: 21.03 kB / 0.7324 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.98e-05/0.5876, allocations: 38.42 kB / 0.7324 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.772e-05/0.5877, allocations: 12.47 kB / 0.7325 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003413/0.588, allocations: 309.6 kB / 0.7327 GB, free: 412 kB / 0.4981 GB Notification: Performance of sort global known variables: time 2.8e-07/0.588, allocations: 0 / 0.7327 GB, free: 412 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008524/0.5889, allocations: 198.7 kB / 0.7329 GB, free: 388 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.0001514/0.589, allocations: 113.7 kB / 0.733 GB, free: 280 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001914/0.591, allocations: 1.259 MB / 0.7343 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.591, allocations: 0 / 0.7343 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001174/0.5922, allocations: 0.8585 MB / 0.7351 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009894/0.5932, allocations: 204.1 kB / 0.7353 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.5952, allocations: 1.317 MB / 0.7366 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006033/0.5958, allocations: 0.9894 MB / 0.7376 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.786e-05/0.5959, allocations: 38.78 kB / 0.7376 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.5959, allocations: 4 kB / 0.7376 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of Templates: time 0.02131/0.6172, allocations: 18.46 MB / 0.7556 GB, free: 15.52 MB / 0.5294 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)