Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000965/0.000965, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001385/0.001385, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.6/1.6, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.72/1.72, allocations: 292.5 MB / 0.5497 GB, free: 14.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005622/0.0005623, allocations: 16.38 kB / 0.6735 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2723, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003364/0.2757, allocations: 2.614 MB / 0.7897 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002426/0.2781, allocations: 1.764 MB / 0.7914 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.888e-05/0.2782, allocations: 7.938 kB / 0.7914 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.2784, allocations: 39.75 kB / 0.7914 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003482/0.2787, allocations: 127.6 kB / 0.7916 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004091/0.2792, allocations: 167.5 kB / 0.7917 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002504/0.2794, allocations: 183.6 kB / 0.7919 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005207/0.2799, allocations: 310.2 kB / 0.7922 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.2801, allocations: 95.67 kB / 0.7923 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001981/0.2803, allocations: 99.59 kB / 0.7924 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.2803, allocations: 12 kB / 0.7924 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003728/0.2807, allocations: 247.6 kB / 0.7926 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.034e-05/0.2808, allocations: 71.8 kB / 0.7927 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.979e-05/0.2809, allocations: 65.58 kB / 0.7927 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003875/0.2813, allocations: 359.1 kB / 0.7931 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.2813, allocations: 0 / 0.7931 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2813, allocations: 0 / 0.7931 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.2813, allocations: 0 / 0.7931 GB, free: 5.828 MB / 0.6075 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.0007085/0.282, allocations: 0.5106 MB / 0.7936 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.282, allocations: 12.03 kB / 0.7936 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008011/0.2828, allocations: 131.5 kB / 0.7937 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.2832, allocations: 258.5 kB / 0.794 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.2832, allocations: 12.44 kB / 0.794 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.785e-05/0.2833, allocations: 27.98 kB / 0.794 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004927/0.2838, allocations: 340.9 kB / 0.7943 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.2838, allocations: 4 kB / 0.7943 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.582e-05/0.2838, allocations: 15.98 kB / 0.7944 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-05/0.2839, allocations: 20.42 kB / 0.7944 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004438/0.2843, allocations: 293.5 kB / 0.7947 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002418/0.2868, allocations: 1.741 MB / 0.7964 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005002/0.2873, allocations: 334 kB / 0.7967 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001026/0.2874, allocations: 81.11 kB / 0.7967 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.2874, allocations: 42.55 kB / 0.7968 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.174e-06/0.2874, allocations: 0 / 0.7968 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.002489/0.2899, allocations: 0.9739 MB / 0.7977 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.29, allocations: 81.23 kB / 0.7978 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/0.2902, allocations: 211.8 kB / 0.798 GB, free: 376 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.2903, allocations: 29.73 kB / 0.798 GB, free: 340 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.2904, allocations: 172.1 kB / 0.7982 GB, free: 160 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.066e-05/0.2905, allocations: 82.84 kB / 0.7983 GB, free: 76 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.434e-05/0.2905, allocations: 4 kB / 0.7983 GB, free: 72 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.2906, allocations: 334.8 kB / 0.7986 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.2908, allocations: 127.9 kB / 0.7987 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.2911, allocations: 213.8 kB / 0.7989 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/0.2913, allocations: 170.7 kB / 0.7991 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2913, allocations: 0 / 0.7991 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008138/0.2921, allocations: 0.4965 MB / 0.7996 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.2922, allocations: 8.312 kB / 0.7996 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.2922, allocations: 4 kB / 0.7996 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004924/0.2927, allocations: 151.2 kB / 0.7997 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.2929, allocations: 63.89 kB / 0.7998 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002824/0.2958, allocations: 3.993 MB / 0.8037 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.296, allocations: 15.98 kB / 0.8037 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/0.296, allocations: 19.98 kB / 0.8037 GB, free: 10.11 MB / 0.6231 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.0001764/0.2962, allocations: 158 kB / 0.8039 GB, free: 9.945 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.2963, allocations: 19.81 kB / 0.8039 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008307/0.2972, allocations: 480.5 kB / 0.8044 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.2972, allocations: 8 kB / 0.8044 GB, free: 9.438 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2972, allocations: 4 kB / 0.8044 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.2972, allocations: 0 / 0.8044 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.2987, allocations: 1.003 MB / 0.8054 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.2987, allocations: 0 / 0.8054 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.2988, allocations: 35.92 kB / 0.8054 GB, free: 8.305 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004427/0.2993, allocations: 151.5 kB / 0.8055 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.2993, allocations: 8 kB / 0.8055 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002668/0.302, allocations: 3.973 MB / 0.8094 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.383e-06/0.302, allocations: 11.92 kB / 0.8094 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008797/0.3029, allocations: 0.727 MB / 0.8101 GB, free: 2.996 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/0.3031, allocations: 124.9 kB / 0.8103 GB, free: 2.855 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/0.3031, allocations: 8 kB / 0.8103 GB, free: 2.848 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.3033, allocations: 19.97 kB / 0.8103 GB, free: 2.828 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.22e-05/0.3034, allocations: 27.88 kB / 0.8103 GB, free: 2.801 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.3034, allocations: 12 kB / 0.8103 GB, free: 2.789 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001559/0.3036, allocations: 160.1 kB / 0.8105 GB, free: 2.633 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3036, allocations: 0 / 0.8105 GB, free: 2.633 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005528/0.3042, allocations: 80 kB / 0.8106 GB, free: 2.555 MB / 0.6231 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.0002286/0.3044, allocations: 135.2 kB / 0.8107 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009034/0.3053, allocations: 0.5726 MB / 0.8112 GB, free: 1.812 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3053, allocations: 0 / 0.8112 GB, free: 1.812 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005075/0.3058, allocations: 398.4 kB / 0.8116 GB, free: 1.398 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.3062, allocations: 39.97 kB / 0.8117 GB, free: 1.359 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.3073, allocations: 0.7354 MB / 0.8124 GB, free: 0.5742 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.3077, allocations: 0.7871 MB / 0.8132 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001591/0.3079, allocations: 58.25 kB / 0.8132 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.582e-05/0.3079, allocations: 19.44 kB / 0.8132 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of SimCode: time 2.1e-07/0.3079, allocations: 0 / 0.8132 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of Templates: time 0.007357/0.3153, allocations: 3.863 MB / 0.817 GB, free: 11.85 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) Environment - environmentSimulation: