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.00115/0.00115, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 189.6 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.813/1.813, allocations: 292.3 MB / 0.5489 GB, free: 12.77 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.002544/0.002544, allocations: 83.2 kB / 0.6723 GB, free: 25.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2575, allocations: 114.6 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004562/0.2621, allocations: 3.058 MB / 0.7871 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003306/0.2655, allocations: 1.941 MB / 0.789 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002003/0.2657, allocations: 4 kB / 0.789 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009684/0.2667, allocations: 286 kB / 0.7893 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005014/0.2672, allocations: 191.1 kB / 0.7895 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006939/0.2679, allocations: 239.3 kB / 0.7897 GB, free: 7 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003811/0.2683, allocations: 326.9 kB / 0.79 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003418/0.2687, allocations: 191.8 kB / 0.7902 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.2689, allocations: 135.5 kB / 0.7903 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003005/0.2692, allocations: 143.5 kB / 0.7905 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.525e-05/0.2692, allocations: 23.94 kB / 0.7905 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006155/0.2698, allocations: 399.2 kB / 0.7909 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.27, allocations: 83.8 kB / 0.7909 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.2701, allocations: 127.4 kB / 0.7911 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006157/0.2708, allocations: 482.6 kB / 0.7915 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.2708, allocations: 0 / 0.7915 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.335e-06/0.2708, allocations: 4 kB / 0.7915 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.2708, allocations: 0 / 0.7915 GB, free: 5.121 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.0009059/0.2717, allocations: 0.5575 MB / 0.7921 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.2718, allocations: 16.03 kB / 0.7921 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007788/0.2725, allocations: 104.5 kB / 0.7922 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004061/0.273, allocations: 267.8 kB / 0.7924 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.273, allocations: 20.8 kB / 0.7925 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.273, allocations: 16.38 kB / 0.7925 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005778/0.2736, allocations: 357.4 kB / 0.7928 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.2736, allocations: 4 kB / 0.7928 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/0.2737, allocations: 4 kB / 0.7928 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.381e-05/0.2738, allocations: 28.42 kB / 0.7928 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004855/0.2743, allocations: 289.5 kB / 0.7931 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002677/0.2769, allocations: 1.733 MB / 0.7948 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005437/0.2775, allocations: 322.1 kB / 0.7951 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.2777, allocations: 101.7 kB / 0.7952 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001272/0.2779, allocations: 101.3 kB / 0.7953 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.2779, allocations: 34.56 kB / 0.7954 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 3.266e-06/0.2779, allocations: 0 / 0.7954 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.002662/0.2806, allocations: 0.9718 MB / 0.7963 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.2807, allocations: 85.05 kB / 0.7964 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/0.2809, allocations: 211.8 kB / 0.7966 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.2809, allocations: 25.7 kB / 0.7966 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.2811, allocations: 168.1 kB / 0.7968 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.878e-05/0.2811, allocations: 86.75 kB / 0.7969 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.727e-05/0.2812, allocations: 65.59 kB / 0.7969 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.2814, allocations: 330.8 kB / 0.7972 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.2816, allocations: 127.9 kB / 0.7974 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002609/0.2818, allocations: 213.8 kB / 0.7976 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004636/0.2823, allocations: 368 kB / 0.7979 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2823, allocations: 0 / 0.7979 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008986/0.2832, allocations: 0.5027 MB / 0.7984 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.2833, allocations: 8.938 kB / 0.7984 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.2833, allocations: 4.094 kB / 0.7984 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005503/0.2838, allocations: 151.2 kB / 0.7986 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/0.2841, allocations: 60 kB / 0.7986 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003341/0.2875, allocations: 4.202 MB / 0.8027 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/0.2877, allocations: 20.14 kB / 0.8027 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.666e-05/0.2878, allocations: 12 kB / 0.8027 GB, free: 8.762 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 (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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002684/0.288, allocations: 165.7 kB / 0.8029 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.086e-05/0.2881, allocations: 19.81 kB / 0.8029 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009691/0.2891, allocations: 482.3 kB / 0.8034 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2891, allocations: 0 / 0.8034 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2891, allocations: 4 kB / 0.8034 GB, free: 8.082 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.2892, allocations: 3.984 kB / 0.8034 GB, free: 8.078 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001641/0.2908, allocations: 1.002 MB / 0.8044 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.2908, allocations: 4.25 kB / 0.8044 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.291, allocations: 39.91 kB / 0.8044 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004143/0.2914, allocations: 143.3 kB / 0.8045 GB, free: 6.789 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/0.2914, allocations: 11.98 kB / 0.8046 GB, free: 6.777 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003172/0.2946, allocations: 4.171 MB / 0.8086 GB, free: 2.273 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/0.2946, allocations: 8.016 kB / 0.8086 GB, free: 2.266 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007913/0.2954, allocations: 0.6308 MB / 0.8093 GB, free: 1.582 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.2956, allocations: 124.8 kB / 0.8094 GB, free: 1.441 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.711e-05/0.2956, allocations: 11.94 kB / 0.8094 GB, free: 1.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.2958, allocations: 15.98 kB / 0.8094 GB, free: 1.414 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/0.2959, allocations: 27.91 kB / 0.8094 GB, free: 1.387 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.2959, allocations: 8 kB / 0.8094 GB, free: 1.379 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001562/0.2961, allocations: 161.5 kB / 0.8096 GB, free: 1.223 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2961, allocations: 0 / 0.8096 GB, free: 1.223 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000558/0.2967, allocations: 92 kB / 0.8097 GB, free: 1.133 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 (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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002492/0.2969, allocations: 135.1 kB / 0.8098 GB, free: 0.9883 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009621/0.2979, allocations: 0.582 MB / 0.8104 GB, free: 392 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.2979, allocations: 4 kB / 0.8104 GB, free: 388 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005149/0.2984, allocations: 410.3 kB / 0.8108 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005127/0.2989, allocations: 39.92 kB / 0.8108 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.3, allocations: 0.6202 MB / 0.8114 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.3004, allocations: 0.7831 MB / 0.8122 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001602/0.3006, allocations: 62.23 kB / 0.8122 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.955e-05/0.3006, allocations: 19.44 kB / 0.8123 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of SimCode: time 3.8e-07/0.3006, allocations: 0 / 0.8123 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of Templates: time 0.008279/0.3089, allocations: 4.148 MB / 0.8163 GB, free: 10.23 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (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)