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.0008731/0.0008735, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001066/0.001066, allocations: 168.7 kB / 15.95 MB, free: 204 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.582/1.582, 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.694/1.694, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0007461/0.0007462, allocations: 15.42 kB / 0.6737 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2661, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.00449/0.2706, allocations: 2.665 MB / 0.7899 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003182/0.2738, allocations: 1.806 MB / 0.7917 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002761/0.2742, allocations: 4 kB / 0.7917 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002514/0.2744, allocations: 35.7 kB / 0.7917 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006899/0.2751, allocations: 143.3 kB / 0.7918 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007783/0.2759, allocations: 171.3 kB / 0.792 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005599/0.2765, allocations: 366.8 kB / 0.7923 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006927/0.2772, allocations: 302.2 kB / 0.7926 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002429/0.2775, allocations: 107.6 kB / 0.7927 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000355/0.2778, allocations: 143.5 kB / 0.7929 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.205e-05/0.2779, allocations: 15.94 kB / 0.7929 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005214/0.2784, allocations: 251.6 kB / 0.7931 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.2785, allocations: 79.77 kB / 0.7932 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.746e-05/0.2786, allocations: 61.64 kB / 0.7933 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003989/0.279, allocations: 363 kB / 0.7936 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.279, allocations: 0 / 0.7936 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.847e-06/0.279, allocations: 3.984 kB / 0.7936 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.828e-06/0.279, allocations: 0 / 0.7936 GB, free: 5.441 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.0007874/0.2798, allocations: 0.5184 MB / 0.7941 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.2799, allocations: 8.031 kB / 0.7941 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007464/0.2806, allocations: 119.5 kB / 0.7942 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003126/0.2809, allocations: 250.6 kB / 0.7945 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.281, allocations: 12.44 kB / 0.7945 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/0.281, allocations: 19.98 kB / 0.7945 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000504/0.2815, allocations: 356.9 kB / 0.7948 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.2815, allocations: 0 / 0.7948 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.1e-05/0.2816, allocations: 15.98 kB / 0.7949 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.093e-05/0.2816, allocations: 20.42 kB / 0.7949 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004397/0.2821, allocations: 301.4 kB / 0.7952 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/0.284, allocations: 1.737 MB / 0.7969 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004206/0.2845, allocations: 324.8 kB / 0.7972 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.2846, allocations: 97.67 kB / 0.7973 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.2847, allocations: 89.09 kB / 0.7974 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.381e-05/0.2848, allocations: 38.56 kB / 0.7974 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.2848, allocations: 0 / 0.7974 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.002348/0.2872, allocations: 0.975 MB / 0.7983 GB, free: 212 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.2872, allocations: 85.3 kB / 0.7984 GB, free: 108 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.2875, allocations: 207.8 kB / 0.7986 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.2875, allocations: 29.7 kB / 0.7986 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.2876, allocations: 168.1 kB / 0.7988 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.827e-05/0.2877, allocations: 82.84 kB / 0.7989 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.541e-05/0.2877, allocations: 8.031 kB / 0.7989 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.2879, allocations: 334.8 kB / 0.7992 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.2881, allocations: 135.9 kB / 0.7993 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.2884, allocations: 201.8 kB / 0.7995 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002387/0.2886, allocations: 167.9 kB / 0.7997 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2886, allocations: 0 / 0.7997 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008866/0.2895, allocations: 0.5081 MB / 0.8002 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.2895, allocations: 4 kB / 0.8002 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.2896, allocations: 4.094 kB / 0.8002 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005293/0.2901, allocations: 159.5 kB / 0.8004 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.2904, allocations: 63.89 kB / 0.8004 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002955/0.2933, allocations: 3.961 MB / 0.8043 GB, free: 9.688 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.2935, allocations: 15.98 kB / 0.8043 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.2936, allocations: 16 kB / 0.8043 GB, free: 9.656 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.0001841/0.2938, allocations: 161.8 kB / 0.8045 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.267e-05/0.2938, allocations: 19.81 kB / 0.8045 GB, free: 9.469 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008408/0.2947, allocations: 476.7 kB / 0.8049 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.2947, allocations: 4 kB / 0.8049 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.2947, allocations: 7.984 kB / 0.805 GB, free: 8.98 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.2947, allocations: 0 / 0.805 GB, free: 8.98 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/0.2962, allocations: 1.004 MB / 0.8059 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.2963, allocations: 7.984 kB / 0.8059 GB, free: 7.875 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.2964, allocations: 39.91 kB / 0.806 GB, free: 7.836 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004078/0.2968, allocations: 139.6 kB / 0.8061 GB, free: 7.688 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.2968, allocations: 12 kB / 0.8061 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002733/0.2996, allocations: 3.946 MB / 0.81 GB, free: 3.41 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.2996, allocations: 4.031 kB / 0.81 GB, free: 3.406 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007722/0.3004, allocations: 0.6276 MB / 0.8106 GB, free: 2.727 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.3005, allocations: 124.9 kB / 0.8107 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.3006, allocations: 15.94 kB / 0.8107 GB, free: 2.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.3008, allocations: 15.98 kB / 0.8107 GB, free: 2.555 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.341e-05/0.3008, allocations: 24 kB / 0.8108 GB, free: 2.531 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.3009, allocations: 12 kB / 0.8108 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001417/0.301, allocations: 156.2 kB / 0.8109 GB, free: 2.367 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.301, allocations: 0 / 0.8109 GB, free: 2.367 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005223/0.3016, allocations: 87.98 kB / 0.811 GB, free: 2.281 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.0002217/0.3018, allocations: 135.1 kB / 0.8111 GB, free: 2.137 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008702/0.3027, allocations: 0.57 MB / 0.8117 GB, free: 1.543 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3027, allocations: 0 / 0.8117 GB, free: 1.543 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004695/0.3031, allocations: 406.2 kB / 0.8121 GB, free: 1.121 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005355/0.3037, allocations: 42.27 kB / 0.8121 GB, free: 1.082 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.3049, allocations: 0.7436 MB / 0.8128 GB, free: 296 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004795/0.3054, allocations: 0.7755 MB / 0.8136 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001753/0.3056, allocations: 58.25 kB / 0.8137 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.693e-05/0.3056, allocations: 23.44 kB / 0.8137 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of SimCode: time 2.3e-07/0.3056, allocations: 0 / 0.8137 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of Templates: time 0.009102/0.3147, allocations: 3.863 MB / 0.8175 GB, free: 11.57 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: