Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.856/1.856, allocations: 288.3 MB / 303.2 MB, free: 8.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00193/0.00193, allocations: 180.1 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.81/1.81, allocations: 205.4 MB / 0.6306 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008494/0.0008495, allocations: 89.09 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004202/0.0004203, allocations: 11.81 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2211, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003754/0.225, allocations: 2.599 MB / 0.982 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002759/0.2278, allocations: 1.787 MB / 0.9837 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.2279, allocations: 4 kB / 0.9837 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001768/0.2281, allocations: 31.77 kB / 0.9837 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004435/0.2285, allocations: 127.6 kB / 0.9839 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005149/0.2291, allocations: 171.5 kB / 0.984 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.2293, allocations: 171.6 kB / 0.9842 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006058/0.23, allocations: 318.2 kB / 0.9845 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.2301, allocations: 91.62 kB / 0.9846 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002399/0.2304, allocations: 103.6 kB / 0.9847 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.17e-05/0.2304, allocations: 8 kB / 0.9847 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004621/0.2309, allocations: 247.6 kB / 0.9849 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.379e-05/0.231, allocations: 63.81 kB / 0.985 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.456e-05/0.231, allocations: 69.58 kB / 0.985 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004597/0.2315, allocations: 351.1 kB / 0.9854 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.2315, allocations: 4 kB / 0.9854 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2315, allocations: 7.938 kB / 0.9854 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.2316, allocations: 0 / 0.9854 GB, free: 21.54 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.000818/0.2324, allocations: 0.5237 MB / 0.9859 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.2324, allocations: 12.02 kB / 0.9859 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/0.2337, allocations: 123.5 kB / 0.986 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003842/0.2341, allocations: 261.7 kB / 0.9863 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.2341, allocations: 20.42 kB / 0.9863 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.738e-05/0.2342, allocations: 16 kB / 0.9863 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006255/0.2348, allocations: 345.1 kB / 0.9866 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.2348, allocations: 4 kB / 0.9866 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.821e-05/0.2349, allocations: 8 kB / 0.9867 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-05/0.2349, allocations: 28.42 kB / 0.9867 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005791/0.2355, allocations: 289.5 kB / 0.987 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002289/0.2378, allocations: 1.745 MB / 0.9887 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005629/0.2384, allocations: 322.1 kB / 0.989 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001071/0.2385, allocations: 93.09 kB / 0.9891 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.2386, allocations: 38.48 kB / 0.9891 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.713e-06/0.2386, allocations: 0 / 0.9891 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.003062/0.2416, allocations: 0.9673 MB / 0.99 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.2417, allocations: 81.3 kB / 0.9901 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.242, allocations: 204.5 kB / 0.9903 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.242, allocations: 33.7 kB / 0.9903 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.636e-05/0.2421, allocations: 172.1 kB / 0.9905 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.486e-05/0.2422, allocations: 78.88 kB / 0.9906 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.253e-05/0.2422, allocations: 8 kB / 0.9906 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.398e-05/0.2423, allocations: 330.8 kB / 0.9909 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002493/0.2425, allocations: 131.9 kB / 0.991 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002919/0.2428, allocations: 217.2 kB / 0.9912 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/0.2431, allocations: 157.7 kB / 0.9914 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2432, allocations: 3.938 kB / 0.9914 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001073/0.2442, allocations: 0.5081 MB / 0.9919 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.2443, allocations: 4 kB / 0.9919 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.2443, allocations: 4.312 kB / 0.9919 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006326/0.2449, allocations: 159.3 kB / 0.992 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003352/0.2453, allocations: 59.89 kB / 0.9921 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002873/0.2482, allocations: 3.997 MB / 0.996 GB, free: 9.855 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002938/0.2485, allocations: 19.98 kB / 0.996 GB, free: 9.836 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.492e-05/0.2485, allocations: 15.98 kB / 0.996 GB, free: 9.82 MB / 0.6198 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): 28 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002148/0.2488, allocations: 157.8 kB / 0.9962 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.2489, allocations: 19.91 kB / 0.9962 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.25, allocations: 486.5 kB / 0.9967 GB, free: 9.145 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.25, allocations: 4 kB / 0.9967 GB, free: 9.141 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.25, allocations: 0 / 0.9967 GB, free: 9.141 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.25, allocations: 4 kB / 0.9967 GB, free: 9.137 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001914/0.2519, allocations: 1.009 MB / 0.9977 GB, free: 8.035 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.252, allocations: 0 / 0.9977 GB, free: 8.035 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.2521, allocations: 35.98 kB / 0.9977 GB, free: 8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000548/0.2527, allocations: 147.5 kB / 0.9978 GB, free: 7.844 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.79e-05/0.2527, allocations: 8 kB / 0.9979 GB, free: 7.836 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002605/0.2554, allocations: 3.973 MB / 1.002 GB, free: 3.543 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.2554, allocations: 8.016 kB / 1.002 GB, free: 3.535 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009744/0.2564, allocations: 0.7347 MB / 1.002 GB, free: 2.691 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/0.2565, allocations: 124.9 kB / 1.003 GB, free: 2.551 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.739e-05/0.2566, allocations: 8 kB / 1.003 GB, free: 2.543 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003427/0.2569, allocations: 15.97 kB / 1.003 GB, free: 2.527 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.238e-05/0.257, allocations: 23.94 kB / 1.003 GB, free: 2.504 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-05/0.2571, allocations: 12 kB / 1.003 GB, free: 2.492 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000162/0.2572, allocations: 160.2 kB / 1.003 GB, free: 2.336 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2e-07/0.2572, allocations: 0 / 1.003 GB, free: 2.336 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008256/0.2581, allocations: 84 kB / 1.003 GB, free: 2.254 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002117/0.2583, allocations: 132.4 kB / 1.003 GB, free: 2.117 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001026/0.2593, allocations: 0.5681 MB / 1.004 GB, free: 1.523 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2594, allocations: 0 / 1.004 GB, free: 1.523 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005661/0.2599, allocations: 394.2 kB / 1.004 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005174/0.2605, allocations: 45.91 kB / 1.004 GB, free: 1.07 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.2616, allocations: 0.7331 MB / 1.005 GB, free: 292 kB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004458/0.2621, allocations: 0.7871 MB / 1.005 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002748/0.2623, allocations: 58.25 kB / 1.006 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.074e-05/0.2624, allocations: 19.44 kB / 1.006 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of SimCode: time 3.11e-07/0.2624, allocations: 4 kB / 1.006 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of Templates: time 0.007649/0.2701, allocations: 3.861 MB / 1.009 GB, free: 11.56 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)