Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.377/2.377, allocations: 391.2 MB / 407 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 197.3 kB / 499.1 MB, free: 4.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 222.9 MB / 0.7948 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 99.75 kB / 0.9329 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.0012, allocations: 52.84 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2667, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003789/0.2706, allocations: 3.123 MB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0022/0.2728, allocations: 1.921 MB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000168/0.273, allocations: 4 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007283/0.2737, allocations: 275.1 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.000376/0.2741, allocations: 179.2 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004929/0.2746, allocations: 203.6 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0003011/0.2749, allocations: 466.7 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002864/0.2752, allocations: 159.2 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.2754, allocations: 119.5 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.2756, allocations: 151.4 kB / 1.225 GB, free: 110.6 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/0.2756, allocations: 15.94 kB / 1.225 GB, free: 110.6 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000509/0.2761, allocations: 475.1 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 6.711e-05/0.2762, allocations: 79.78 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 8.497e-05/0.2763, allocations: 111.4 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0004319/0.2767, allocations: 0.4985 MB / 1.226 GB, free: 109.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2768, allocations: 0 / 1.226 GB, free: 109.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2768, allocations: 4 kB / 1.226 GB, free: 109.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.2768, allocations: 3.938 kB / 1.226 GB, free: 109.4 MB / 0.823 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.0007538/0.2775, allocations: 0.5459 MB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.2776, allocations: 19.98 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006913/0.2783, allocations: 112.5 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.2785, allocations: 265.5 kB / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.2786, allocations: 16.8 kB / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.07e-05/0.2786, allocations: 20.38 kB / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004021/0.279, allocations: 361.2 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.279, allocations: 0 / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.2791, allocations: 4 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.55e-05/0.2791, allocations: 28.42 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003561/0.2795, allocations: 293.5 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001641/0.2811, allocations: 1.733 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003703/0.2815, allocations: 318.2 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.2816, allocations: 117.5 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.242e-05/0.2817, allocations: 89.09 kB / 1.229 GB, free: 105.2 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.2817, allocations: 30.56 kB / 1.229 GB, free: 105.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/0.2818, allocations: 0 / 1.229 GB, free: 105.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=23): time 0.002081/0.2838, allocations: 0.9658 MB / 1.23 GB, free: 104.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.2839, allocations: 85.05 kB / 1.23 GB, free: 104.1 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.284, allocations: 214.4 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.2841, allocations: 29.7 kB / 1.231 GB, free: 103.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.24e-05/0.2841, allocations: 180.1 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.148e-05/0.2842, allocations: 78.84 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.141e-05/0.2843, allocations: 61.61 kB / 1.231 GB, free: 103.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.191e-05/0.2843, allocations: 330.8 kB / 1.231 GB, free: 103.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.2845, allocations: 127.9 kB / 1.231 GB, free: 103 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.2847, allocations: 217.2 kB / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004025/0.2851, allocations: 371.1 kB / 1.232 GB, free: 102.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2851, allocations: 0 / 1.232 GB, free: 102.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006696/0.2858, allocations: 0.5112 MB / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.2858, allocations: 7.938 kB / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.2858, allocations: 4 kB / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004469/0.2863, allocations: 155.5 kB / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.2865, allocations: 59.89 kB / 1.233 GB, free: 101.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001878/0.2884, allocations: 3.957 MB / 1.237 GB, free: 97.36 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.2886, allocations: 24.14 kB / 1.237 GB, free: 97.34 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.2886, allocations: 19.98 kB / 1.237 GB, free: 97.32 MB / 0.823 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.0001334/0.2887, allocations: 153.8 kB / 1.237 GB, free: 97.16 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.39e-05/0.2888, allocations: 19.91 kB / 1.237 GB, free: 97.14 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006982/0.2895, allocations: 482.4 kB / 1.237 GB, free: 96.65 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.2895, allocations: 4 kB / 1.237 GB, free: 96.65 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.2895, allocations: 0 / 1.237 GB, free: 96.65 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2895, allocations: 4 kB / 1.237 GB, free: 96.64 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.2907, allocations: 1.013 MB / 1.238 GB, free: 95.54 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.2908, allocations: 8 kB / 1.238 GB, free: 95.53 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.2909, allocations: 31.92 kB / 1.238 GB, free: 95.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003531/0.2912, allocations: 143.3 kB / 1.238 GB, free: 95.35 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.2913, allocations: 11.94 kB / 1.238 GB, free: 95.34 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001723/0.293, allocations: 3.946 MB / 1.242 GB, free: 91.07 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.293, allocations: 4.031 kB / 1.242 GB, free: 91.07 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008724/0.2939, allocations: 1.358 MB / 1.244 GB, free: 89.61 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.294, allocations: 128.7 kB / 1.244 GB, free: 89.47 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.294, allocations: 8 kB / 1.244 GB, free: 89.46 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.2942, allocations: 19.97 kB / 1.244 GB, free: 89.44 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/0.2943, allocations: 27.86 kB / 1.244 GB, free: 89.41 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.2943, allocations: 8 kB / 1.244 GB, free: 89.41 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001234/0.2945, allocations: 160.2 kB / 1.244 GB, free: 89.25 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2945, allocations: 0 / 1.244 GB, free: 89.25 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0006251/0.2951, allocations: 92 kB / 1.244 GB, free: 89.16 MB / 0.823 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.0002181/0.2953, allocations: 135.7 kB / 1.244 GB, free: 89.02 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0008079/0.2961, allocations: 0.5791 MB / 1.245 GB, free: 88.42 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.2962, allocations: 0 / 1.245 GB, free: 88.42 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003983/0.2966, allocations: 395.2 kB / 1.245 GB, free: 88.01 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005662/0.2971, allocations: 45.66 kB / 1.245 GB, free: 87.96 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.2982, allocations: 0.9388 MB / 1.246 GB, free: 86.96 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.2984, allocations: 0.7985 MB / 1.247 GB, free: 86.14 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001611/0.2986, allocations: 62.23 kB / 1.247 GB, free: 86.08 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.387e-05/0.2987, allocations: 19.44 kB / 1.247 GB, free: 86.06 MB / 0.823 GB Notification: Performance of SimCode: time 2.01e-07/0.2987, allocations: 0 / 1.247 GB, free: 86.06 MB / 0.823 GB Notification: Performance of Templates: time 0.006598/0.3053, allocations: 4.158 MB / 1.251 GB, free: 81.93 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)