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.001186/0.001186, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001374/0.001374, allocations: 195.3 kB / 16.25 MB, free: 6.621 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.678/1.678, allocations: 205.1 MB / 222.1 MB, free: 4.613 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.809/1.809, allocations: 292.2 MB / 0.5485 GB, free: 13.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.001406/0.001406, allocations: 69.23 kB / 0.671 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3019, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005659/0.3076, allocations: 3.127 MB / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003324/0.311, allocations: 1.918 MB / 0.7878 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001616/0.3112, allocations: 7.938 kB / 0.7878 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009104/0.3121, allocations: 271.1 kB / 0.788 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004279/0.3126, allocations: 163.3 kB / 0.7882 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006596/0.3132, allocations: 231.4 kB / 0.7884 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004018/0.3136, allocations: 318.9 kB / 0.7887 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004694/0.3141, allocations: 220 kB / 0.7889 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001712/0.3143, allocations: 135.5 kB / 0.7891 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002997/0.3146, allocations: 151.5 kB / 0.7892 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.164e-05/0.3146, allocations: 20 kB / 0.7892 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005634/0.3152, allocations: 391.3 kB / 0.7896 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.193e-05/0.3153, allocations: 87.78 kB / 0.7897 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.3154, allocations: 119.4 kB / 0.7898 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005734/0.316, allocations: 0.4947 MB / 0.7903 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.316, allocations: 4 kB / 0.7903 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.977e-06/0.3161, allocations: 0 / 0.7903 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.3161, allocations: 7.938 kB / 0.7903 GB, free: 6.262 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.0009109/0.317, allocations: 0.5497 MB / 0.7908 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.317, allocations: 12.03 kB / 0.7908 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007706/0.3178, allocations: 116.5 kB / 0.7909 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003112/0.3181, allocations: 255.8 kB / 0.7912 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.3182, allocations: 16.81 kB / 0.7912 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.742e-05/0.3182, allocations: 16.38 kB / 0.7912 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005208/0.3187, allocations: 365.2 kB / 0.7916 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3188, allocations: 0 / 0.7916 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.059e-05/0.3188, allocations: 12 kB / 0.7916 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.708e-05/0.3188, allocations: 24.42 kB / 0.7916 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004267/0.3193, allocations: 293.5 kB / 0.7919 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002026/0.3213, allocations: 1.749 MB / 0.7936 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004431/0.3218, allocations: 318.1 kB / 0.7939 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.3219, allocations: 109.7 kB / 0.794 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/0.322, allocations: 89.33 kB / 0.7941 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.3221, allocations: 38.56 kB / 0.7941 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.3221, allocations: 0 / 0.7941 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.00234/0.3244, allocations: 0.9635 MB / 0.7951 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.3245, allocations: 89.05 kB / 0.7951 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.3247, allocations: 207.8 kB / 0.7953 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.3247, allocations: 33.64 kB / 0.7954 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.3248, allocations: 176 kB / 0.7955 GB, free: 460 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.464e-05/0.3249, allocations: 78.86 kB / 0.7956 GB, free: 380 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.325, allocations: 65.59 kB / 0.7957 GB, free: 308 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.3252, allocations: 326.8 kB / 0.796 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/0.3254, allocations: 131.9 kB / 0.7961 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002706/0.3257, allocations: 217.8 kB / 0.7963 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006601/0.3264, allocations: 369.1 kB / 0.7967 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3264, allocations: 0 / 0.7967 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001289/0.3277, allocations: 0.5003 MB / 0.7972 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.3277, allocations: 8.312 kB / 0.7972 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.3278, allocations: 8 kB / 0.7972 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007083/0.3285, allocations: 147.3 kB / 0.7973 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000376/0.3289, allocations: 59.91 kB / 0.7974 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004462/0.3334, allocations: 4.19 MB / 0.8015 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000337/0.3337, allocations: 15.98 kB / 0.8015 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.802e-05/0.3338, allocations: 12 kB / 0.8015 GB, free: 9.91 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.0002764/0.3341, allocations: 170.4 kB / 0.8017 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.3342, allocations: 23.81 kB / 0.8017 GB, free: 9.711 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/0.3354, allocations: 488.1 kB / 0.8022 GB, free: 9.223 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.3355, allocations: 0 / 0.8022 GB, free: 9.223 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.3355, allocations: 8 kB / 0.8022 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.3355, allocations: 0 / 0.8022 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002304/0.3378, allocations: 1.004 MB / 0.8031 GB, free: 8.117 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.136e-06/0.3378, allocations: 4 kB / 0.8031 GB, free: 8.113 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/0.338, allocations: 31.92 kB / 0.8032 GB, free: 8.082 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005615/0.3386, allocations: 147.5 kB / 0.8033 GB, free: 7.926 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.3386, allocations: 8 kB / 0.8033 GB, free: 7.918 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004118/0.3428, allocations: 4.171 MB / 0.8074 GB, free: 3.414 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.3428, allocations: 7.969 kB / 0.8074 GB, free: 3.406 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.3441, allocations: 0.6332 MB / 0.808 GB, free: 2.723 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001899/0.3443, allocations: 128.8 kB / 0.8081 GB, free: 2.578 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.293e-05/0.3443, allocations: 11.94 kB / 0.8082 GB, free: 2.566 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003504/0.3447, allocations: 19.97 kB / 0.8082 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.232e-05/0.3448, allocations: 23.92 kB / 0.8082 GB, free: 2.523 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-05/0.3448, allocations: 8 kB / 0.8082 GB, free: 2.516 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002129/0.345, allocations: 161.5 kB / 0.8084 GB, free: 2.359 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/0.345, allocations: 0 / 0.8084 GB, free: 2.359 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008675/0.3459, allocations: 88 kB / 0.8084 GB, free: 2.273 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.0002991/0.3462, allocations: 139.1 kB / 0.8086 GB, free: 2.125 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001398/0.3476, allocations: 0.5901 MB / 0.8092 GB, free: 1.512 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3477, allocations: 0 / 0.8092 GB, free: 1.512 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007198/0.3484, allocations: 410.2 kB / 0.8095 GB, free: 1.086 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008177/0.3492, allocations: 53.12 kB / 0.8096 GB, free: 1.039 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.3508, allocations: 0.7247 MB / 0.8103 GB, free: 272 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004958/0.3513, allocations: 0.7792 MB / 0.8111 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00026/0.3516, allocations: 58.23 kB / 0.8111 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.692e-05/0.3517, allocations: 27.44 kB / 0.8111 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of SimCode: time 1.002e-06/0.3517, allocations: 0 / 0.8111 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of Templates: time 0.01187/0.3636, allocations: 4.166 MB / 0.8152 GB, free: 11.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)