Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009711/0.0009745, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001276/0.001276, allocations: 168.7 kB / 15.95 MB, free: 204 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.33/1.33, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001704/0.001704, allocations: 278.3 kB / 291.4 MB, free: 1.969 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9349/0.9349, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004371/0.0004372, allocations: 18.16 kB / 0.598 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.173, allocations: 88.55 MB / 0.6845 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.0036/0.1766, allocations: 2.817 MB / 0.6872 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002566/0.1792, allocations: 1.745 MB / 0.6889 GB, free: 10.89 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.1793, allocations: 3.938 kB / 0.689 GB, free: 10.89 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000195/0.1795, allocations: 39.7 kB / 0.689 GB, free: 10.85 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000431/0.18, allocations: 161.9 kB / 0.6891 GB, free: 10.7 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005488/0.1805, allocations: 232.6 kB / 0.6894 GB, free: 10.47 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004698/0.181, allocations: 462.6 kB / 0.6898 GB, free: 10.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007866/0.1818, allocations: 446.4 kB / 0.6902 GB, free: 9.559 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001932/0.182, allocations: 127.5 kB / 0.6904 GB, free: 9.434 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003703/0.1824, allocations: 197.4 kB / 0.6905 GB, free: 9.242 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.1825, allocations: 12 kB / 0.6906 GB, free: 9.23 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002586/0.1827, allocations: 131.8 kB / 0.6907 GB, free: 9.102 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.1828, allocations: 103.7 kB / 0.6908 GB, free: 9 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.538e-05/0.1829, allocations: 78.16 kB / 0.6909 GB, free: 8.918 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003585/0.1833, allocations: 343.8 kB / 0.6912 GB, free: 8.582 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.1833, allocations: 4 kB / 0.6912 GB, free: 8.578 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1833, allocations: 4 kB / 0.6912 GB, free: 8.574 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.1833, allocations: 0 / 0.6912 GB, free: 8.574 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0009051/0.1842, allocations: 0.5418 MB / 0.6917 GB, free: 7.984 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.1843, allocations: 8.031 kB / 0.6917 GB, free: 7.977 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006825/0.185, allocations: 91.53 kB / 0.6918 GB, free: 7.887 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.1853, allocations: 275.2 kB / 0.6921 GB, free: 7.574 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.1853, allocations: 24.56 kB / 0.6921 GB, free: 7.551 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.1854, allocations: 35.89 kB / 0.6921 GB, free: 7.516 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006181/0.1861, allocations: 433.1 kB / 0.6925 GB, free: 7.059 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.1861, allocations: 7.938 kB / 0.6926 GB, free: 7.051 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.355e-05/0.1861, allocations: 8 kB / 0.6926 GB, free: 7.043 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001317/0.1863, allocations: 44.53 kB / 0.6926 GB, free: 7 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005365/0.1868, allocations: 349.8 kB / 0.6929 GB, free: 6.656 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002261/0.1891, allocations: 2.214 MB / 0.6951 GB, free: 4.246 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004085/0.1895, allocations: 267 kB / 0.6954 GB, free: 3.977 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002124/0.1897, allocations: 157.9 kB / 0.6955 GB, free: 3.82 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.1898, allocations: 4.188 kB / 0.6955 GB, free: 3.816 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.1898, allocations: 30.75 kB / 0.6955 GB, free: 3.777 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 1.523e-06/0.1898, allocations: 4 kB / 0.6955 GB, free: 3.773 MB / 494.1 MB Notification: Performance of matching and sorting (n=23): time 0.001723/0.1915, allocations: 1.061 MB / 0.6966 GB, free: 2.648 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.1916, allocations: 55.39 kB / 0.6966 GB, free: 2.582 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.1918, allocations: 245 kB / 0.6969 GB, free: 2.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.1919, allocations: 33.7 kB / 0.6969 GB, free: 2.301 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.192, allocations: 180 kB / 0.6971 GB, free: 2.117 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.748e-05/0.192, allocations: 90.73 kB / 0.6972 GB, free: 2.027 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.012e-05/0.1921, allocations: 4 kB / 0.6972 GB, free: 2.023 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1922, allocations: 342.8 kB / 0.6975 GB, free: 1.68 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/0.1924, allocations: 147.9 kB / 0.6976 GB, free: 1.535 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/0.1927, allocations: 229.6 kB / 0.6978 GB, free: 1.273 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002731/0.193, allocations: 189.3 kB / 0.698 GB, free: 1.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.193, allocations: 0 / 0.698 GB, free: 1.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001029/0.194, allocations: 0.594 MB / 0.6986 GB, free: 500 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.194, allocations: 8 kB / 0.6986 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1941, allocations: 0 / 0.6986 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006463/0.1947, allocations: 196.9 kB / 0.6988 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/0.195, allocations: 63.89 kB / 0.6989 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00259/0.1976, allocations: 2.288 MB / 0.7011 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/0.1979, allocations: 15.98 kB / 0.7011 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-05/0.1979, allocations: 19.94 kB / 0.7011 GB, free: 13.76 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001772/0.1981, allocations: 158.4 kB / 0.7013 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.598e-05/0.1982, allocations: 31.73 kB / 0.7013 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005667/0.1987, allocations: 347.5 kB / 0.7016 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1987, allocations: 4 kB / 0.7016 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.1988, allocations: 3.984 kB / 0.7017 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1988, allocations: 3.984 kB / 0.7017 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.1998, allocations: 0.8122 MB / 0.7024 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.1998, allocations: 4 kB / 0.7025 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003822/0.2002, allocations: 79.94 kB / 0.7025 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.2002, allocations: 4 kB / 0.7025 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.2002, allocations: 4 kB / 0.7025 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.2002, allocations: 4 kB / 0.7025 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2002, allocations: 0 / 0.7025 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007081/0.2009, allocations: 0.6175 MB / 0.7031 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.2011, allocations: 136.8 kB / 0.7033 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.393e-05/0.2011, allocations: 8 kB / 0.7033 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.2013, allocations: 11.98 kB / 0.7033 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.2014, allocations: 11.98 kB / 0.7033 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.2014, allocations: 4 kB / 0.7033 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001656/0.2016, allocations: 184.5 kB / 0.7035 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2016, allocations: 3.938 kB / 0.7035 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004065/0.202, allocations: 88 kB / 0.7036 GB, free: 11.15 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001509/0.2021, allocations: 107.2 kB / 0.7037 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008429/0.203, allocations: 0.5278 MB / 0.7042 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.185e-06/0.203, allocations: 0.625 kB / 0.7042 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.2032, allocations: 155.9 kB / 0.7043 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004587/0.2037, allocations: 51.14 kB / 0.7044 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.2052, allocations: 1.005 MB / 0.7054 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.2056, allocations: 0.7951 MB / 0.7061 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002136/0.2058, allocations: 74.91 kB / 0.7062 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.242e-05/0.2059, allocations: 23.44 kB / 0.7062 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.2059, allocations: 0 / 0.7062 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of Templates: time 0.007132/0.213, allocations: 3.661 MB / 0.7098 GB, free: 4.703 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)