Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001343, allocations: 111.3 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.001589/0.001589, allocations: 190 kB / 16.14 MB, free: 6.707 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.362/1.362, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00203/0.002031, allocations: 287 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9945/0.9945, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 92.62 kB / 0.5945 GB, free: 28.47 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1717, allocations: 86.99 MB / 0.6795 GB, free: 1.145 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.007596/0.1794, allocations: 6.729 MB / 0.686 GB, free: 10.4 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004388/0.1838, allocations: 3.037 MB / 0.689 GB, free: 7.367 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003854/0.1842, allocations: 23.81 kB / 0.689 GB, free: 7.344 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002106/0.1863, allocations: 0.8978 MB / 0.6899 GB, free: 6.445 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009634/0.1873, allocations: 481.7 kB / 0.6903 GB, free: 5.973 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008813/0.1882, allocations: 379.3 kB / 0.6907 GB, free: 5.602 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001257/0.1895, allocations: 1.587 MB / 0.6923 GB, free: 4.012 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008924/0.1904, allocations: 0.6443 MB / 0.6929 GB, free: 3.363 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004855/0.1909, allocations: 422.2 kB / 0.6933 GB, free: 2.949 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005464/0.1914, allocations: 0.5215 MB / 0.6938 GB, free: 2.426 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.376e-05/0.1915, allocations: 44 kB / 0.6938 GB, free: 2.383 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008383/0.1924, allocations: 455.1 kB / 0.6943 GB, free: 1.938 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002698/0.1926, allocations: 287.2 kB / 0.6946 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004248/0.1931, allocations: 429.8 kB / 0.695 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.1943, allocations: 1.199 MB / 0.6961 GB, free: 32 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.1943, allocations: 0 / 0.6961 GB, free: 32 kB / 494.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1943, allocations: 3.938 kB / 0.6961 GB, free: 28 kB / 494.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.1943, allocations: 3.938 kB / 0.6961 GB, free: 24 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001731/0.196, allocations: 1.161 MB / 0.6973 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.1961, allocations: 12.03 kB / 0.6973 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001467/0.1976, allocations: 231.6 kB / 0.6975 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007024/0.1983, allocations: 0.5531 MB / 0.698 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.1983, allocations: 45.69 kB / 0.6981 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.834e-05/0.1984, allocations: 64.36 kB / 0.6982 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.1998, allocations: 1.081 MB / 0.6992 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.1998, allocations: 11.84 kB / 0.6992 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.786e-05/0.1999, allocations: 31.98 kB / 0.6992 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001382/0.2, allocations: 89.25 kB / 0.6993 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.2011, allocations: 0.7504 MB / 0.7001 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00476/0.2059, allocations: 5.897 MB / 0.7058 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000927/0.2068, allocations: 0.5568 MB / 0.7064 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000415/0.2072, allocations: 326 kB / 0.7067 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.552e-05/0.2073, allocations: 4.438 kB / 0.7067 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.2073, allocations: 42.98 kB / 0.7067 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 2.275e-06/0.2073, allocations: 0 / 0.7067 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48): time 0.003635/0.211, allocations: 1.982 MB / 0.7087 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.211, allocations: 55.84 kB / 0.7087 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005521/0.2116, allocations: 0.5509 MB / 0.7093 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.061e-05/0.2116, allocations: 45.64 kB / 0.7093 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002332/0.2119, allocations: 418.9 kB / 0.7097 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.212, allocations: 165.6 kB / 0.7099 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.2122, allocations: 130.5 kB / 0.71 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.2123, allocations: 374.7 kB / 0.7103 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003751/0.2127, allocations: 277.8 kB / 0.7106 GB, free: 436 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005024/0.2132, allocations: 493 kB / 0.7111 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009342/0.2141, allocations: 0.8094 MB / 0.7119 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.2142, allocations: 4 kB / 0.7119 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001659/0.2158, allocations: 1.083 MB / 0.7129 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.2159, allocations: 12.03 kB / 0.7129 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.2159, allocations: 11.98 kB / 0.7129 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008138/0.2167, allocations: 275.2 kB / 0.7132 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004493/0.2172, allocations: 123.8 kB / 0.7133 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005646/0.2228, allocations: 6.591 MB / 0.7198 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005976/0.2234, allocations: 39.95 kB / 0.7198 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-05/0.2235, allocations: 31.94 kB / 0.7198 GB, free: 6.211 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003536/0.2238, allocations: 266.8 kB / 0.7201 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.224, allocations: 71.16 kB / 0.7202 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/0.2254, allocations: 0.8846 MB / 0.721 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.2254, allocations: 4 kB / 0.721 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2254, allocations: 8 kB / 0.721 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.2254, allocations: 3.984 kB / 0.721 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002382/0.2278, allocations: 1.724 MB / 0.7227 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.2279, allocations: 7.938 kB / 0.7227 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.2281, allocations: 59.94 kB / 0.7228 GB, free: 3.074 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007355/0.2288, allocations: 271.5 kB / 0.723 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.2e-05/0.2289, allocations: 8 kB / 0.723 GB, free: 2.789 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005477/0.2344, allocations: 6.579 MB / 0.7295 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.2344, allocations: 7.969 kB / 0.7295 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/0.2359, allocations: 0.9836 MB / 0.7304 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002555/0.2361, allocations: 192.2 kB / 0.7306 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.13e-05/0.2362, allocations: 11.94 kB / 0.7306 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003475/0.2366, allocations: 31.95 kB / 0.7307 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.879e-05/0.2367, allocations: 39.89 kB / 0.7307 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.182e-05/0.2367, allocations: 20 kB / 0.7307 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004027/0.2371, allocations: 387 kB / 0.7311 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.522e-06/0.2371, allocations: 0 / 0.7311 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007531/0.2379, allocations: 227.9 kB / 0.7313 GB, free: 9.734 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001497/0.238, allocations: 119.2 kB / 0.7314 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001773/0.2398, allocations: 1.268 MB / 0.7327 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.2398, allocations: 4 kB / 0.7327 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00111/0.241, allocations: 0.8777 MB / 0.7335 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009587/0.2419, allocations: 207.1 kB / 0.7337 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.244, allocations: 1.639 MB / 0.7353 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005182/0.2445, allocations: 1.016 MB / 0.7363 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003761/0.2449, allocations: 126 kB / 0.7364 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.245, allocations: 39.44 kB / 0.7365 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of SimCode: time 1.773e-06/0.245, allocations: 0 / 0.7365 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of Templates: time 0.01633/0.2614, allocations: 10.78 MB / 0.747 GB, free: 9.602 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)