Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.691/2.691, allocations: 287.5 MB / 302.4 MB, free: 8.285 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.001459/0.001458, allocations: 172.3 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.288/2.288, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.0009367/0.0009364, allocations: 96.94 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007613/0.0007617, allocations: 16.5 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.257, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004161/0.2613, allocations: 2.657 MB / 0.981 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003734/0.2651, allocations: 1.83 MB / 0.9827 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000265/0.2654, allocations: 3.938 kB / 0.9827 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002183/0.2656, allocations: 31.78 kB / 0.9828 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006361/0.2663, allocations: 151.3 kB / 0.9829 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000824/0.2671, allocations: 176.4 kB / 0.9831 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005239/0.2676, allocations: 362.9 kB / 0.9834 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008189/0.2685, allocations: 330.1 kB / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002358/0.2687, allocations: 103.6 kB / 0.9838 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003922/0.2691, allocations: 139.5 kB / 0.984 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.558e-05/0.2692, allocations: 12 kB / 0.984 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007344/0.2699, allocations: 251.6 kB / 0.9842 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.2701, allocations: 71.78 kB / 0.9843 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.109e-05/0.2702, allocations: 69.58 kB / 0.9844 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005707/0.2707, allocations: 355.1 kB / 0.9847 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.2708, allocations: 0 / 0.9847 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.364e-06/0.2708, allocations: 0 / 0.9847 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.2708, allocations: 4 kB / 0.9847 GB, free: 21.8 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.000928/0.2717, allocations: 0.5106 MB / 0.9852 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.2718, allocations: 16.02 kB / 0.9852 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/0.273, allocations: 119.5 kB / 0.9853 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003948/0.2734, allocations: 250.6 kB / 0.9856 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.2734, allocations: 20.44 kB / 0.9856 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.942e-05/0.2735, allocations: 19.98 kB / 0.9856 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007026/0.2742, allocations: 353.1 kB / 0.9859 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.2742, allocations: 0 / 0.9859 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.267e-05/0.2743, allocations: 8 kB / 0.986 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.795e-05/0.2744, allocations: 24.42 kB / 0.986 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006572/0.275, allocations: 301.5 kB / 0.9863 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00286/0.2779, allocations: 1.737 MB / 0.988 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007086/0.2787, allocations: 327.2 kB / 0.9883 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002195/0.2789, allocations: 101.7 kB / 0.9884 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001486/0.2791, allocations: 89.11 kB / 0.9885 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.2791, allocations: 34.56 kB / 0.9885 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 3.206e-06/0.2791, allocations: 96 / 0.9885 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.003751/0.2829, allocations: 0.9828 MB / 0.9894 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.283, allocations: 81.3 kB / 0.9895 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002628/0.2832, allocations: 212.5 kB / 0.9897 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.2833, allocations: 25.7 kB / 0.9898 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.397e-05/0.2834, allocations: 176.1 kB / 0.9899 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.011e-05/0.2835, allocations: 86.83 kB / 0.99 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.506e-05/0.2835, allocations: 4 kB / 0.99 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.174e-05/0.2836, allocations: 334.7 kB / 0.9903 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002796/0.2839, allocations: 131.9 kB / 0.9905 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003221/0.2842, allocations: 213.1 kB / 0.9907 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003481/0.2846, allocations: 161.2 kB / 0.9908 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2846, allocations: 4 kB / 0.9908 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001343/0.2859, allocations: 0.5042 MB / 0.9913 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.286, allocations: 11.94 kB / 0.9913 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.286, allocations: 4.312 kB / 0.9913 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007405/0.2868, allocations: 147.3 kB / 0.9915 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004407/0.2872, allocations: 59.91 kB / 0.9915 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003159/0.2904, allocations: 3.961 MB / 0.9954 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003735/0.2908, allocations: 20.02 kB / 0.9954 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.086e-05/0.2909, allocations: 15.98 kB / 0.9954 GB, free: 10.01 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.0002368/0.2911, allocations: 153.8 kB / 0.9956 GB, free: 9.852 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.747e-05/0.2912, allocations: 19.81 kB / 0.9956 GB, free: 9.832 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.2925, allocations: 490.4 kB / 0.9961 GB, free: 9.336 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.2925, allocations: 4 kB / 0.9961 GB, free: 9.332 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2925, allocations: 4 kB / 0.9961 GB, free: 9.328 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.892e-06/0.2925, allocations: 0 / 0.9961 GB, free: 9.328 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002154/0.2947, allocations: 0.996 MB / 0.997 GB, free: 8.238 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.2947, allocations: 4 kB / 0.997 GB, free: 8.234 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002423/0.295, allocations: 31.92 kB / 0.9971 GB, free: 8.203 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006538/0.2957, allocations: 155.5 kB / 0.9972 GB, free: 8.039 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.31e-05/0.2957, allocations: 8 kB / 0.9972 GB, free: 8.031 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002973/0.2987, allocations: 3.942 MB / 1.001 GB, free: 3.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.2988, allocations: 8.016 kB / 1.001 GB, free: 3.762 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.2999, allocations: 0.6358 MB / 1.002 GB, free: 3.074 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/0.3001, allocations: 128.8 kB / 1.002 GB, free: 2.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.811e-05/0.3001, allocations: 4 kB / 1.002 GB, free: 2.926 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003401/0.3005, allocations: 15.98 kB / 1.002 GB, free: 2.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.913e-05/0.3006, allocations: 27.91 kB / 1.002 GB, free: 2.883 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.3006, allocations: 19.98 kB / 1.002 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001894/0.3008, allocations: 152.2 kB / 1.002 GB, free: 2.715 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.5e-07/0.3008, allocations: 0 / 1.002 GB, free: 2.715 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006893/0.3015, allocations: 88 kB / 1.002 GB, free: 2.629 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.0002408/0.3018, allocations: 127.2 kB / 1.002 GB, free: 2.496 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001241/0.303, allocations: 0.5756 MB / 1.003 GB, free: 1.895 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.303, allocations: 0 / 1.003 GB, free: 1.895 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006918/0.3037, allocations: 398.4 kB / 1.003 GB, free: 1.48 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007475/0.3045, allocations: 51.86 kB / 1.003 GB, free: 1.43 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.3059, allocations: 0.7222 MB / 1.004 GB, free: 0.6562 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.3063, allocations: 0.7794 MB / 1.005 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000329/0.3066, allocations: 62.23 kB / 1.005 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.701e-05/0.3067, allocations: 19.44 kB / 1.005 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of SimCode: time 3.447e-06/0.3067, allocations: 4 kB / 1.005 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of Templates: time 0.01228/0.319, allocations: 3.898 MB / 1.009 GB, free: 11.89 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)