Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.326/1.326, allocations: 285.5 MB / 292.8 MB, free: 10.46 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009359/0.0009359, allocations: 177.3 kB / 361.1 MB, free: 7.094 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.008/1.008, allocations: 205.1 MB / 0.6195 GB, free: 11.94 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007931/0.0007931, allocations: 94.44 kB / 0.7326 GB, free: 44.46 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.594e-06/7.635e-06, allocations: 4 kB / 0.8511 GB, free: 3.219 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.3879, allocations: 115.3 MB / 0.9637 GB, free: 77.72 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1561/0.5441, allocations: 167.4 MB / 1.127 GB, free: 4.621 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/0.5444, allocations: 93.44 kB / 1.127 GB, free: 4.531 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.1461/0.6905, allocations: 61.89 MB / 1.188 GB, free: 6.363 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 9.375e-05/0.6906, allocations: 36 kB / 1.188 GB, free: 6.328 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003811/0.6944, allocations: 1.636 MB / 1.189 GB, free: 4.641 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.6945, allocations: 16.53 kB / 1.189 GB, free: 4.625 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002921/0.6974, allocations: 478.7 kB / 1.19 GB, free: 4.156 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002355/0.6998, allocations: 1.294 MB / 1.191 GB, free: 2.816 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.023e-05/0.6998, allocations: 51.98 kB / 1.191 GB, free: 2.766 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003523/0.7002, allocations: 84 kB / 1.191 GB, free: 2.684 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003683/0.7039, allocations: 2.353 MB / 1.193 GB, free: 336 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004355/0.7082, allocations: 2.964 MB / 1.196 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.435e-05/0.7083, allocations: 0 / 1.196 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001892/0.7085, allocations: 8 kB / 1.196 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005544/0.709, allocations: 183 kB / 1.197 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01877/0.7278, allocations: 14.72 MB / 1.211 GB, free: 13.48 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002195/0.73, allocations: 1.743 MB / 1.213 GB, free: 11.73 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001928/0.732, allocations: 1.546 MB / 1.214 GB, free: 10.19 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.597e-05/0.732, allocations: 20.88 kB / 1.214 GB, free: 10.17 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.7321, allocations: 44.44 kB / 1.214 GB, free: 10.12 MB / 0.823 GB Notification: Performance of pre-optimization done (n=104): time 2.334e-06/0.7321, allocations: 0 / 1.214 GB, free: 10.12 MB / 0.823 GB Notification: Performance of matching and sorting (n=183): time 0.03885/0.7709, allocations: 14.15 MB / 1.228 GB, free: 11.95 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.771, allocations: 70.06 kB / 1.228 GB, free: 11.87 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/0.7723, allocations: 1.004 MB / 1.229 GB, free: 10.86 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001809/0.7725, allocations: 29.7 kB / 1.229 GB, free: 10.82 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000326/0.7728, allocations: 0.6585 MB / 1.23 GB, free: 10.15 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005004/0.7733, allocations: 0.6004 MB / 1.23 GB, free: 9.539 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002026/0.7735, allocations: 0 / 1.23 GB, free: 9.539 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.7737, allocations: 385.9 kB / 1.231 GB, free: 9.156 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002664/0.7764, allocations: 2.148 MB / 1.233 GB, free: 7.008 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002882/0.7792, allocations: 2.47 MB / 1.235 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005208/0.7845, allocations: 2.93 MB / 1.238 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.7845, allocations: 4 kB / 1.238 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.01709/0.8016, allocations: 8.775 MB / 1.247 GB, free: 8.695 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.8016, allocations: 6.656 kB / 1.247 GB, free: 8.691 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.8016, allocations: 8 kB / 1.247 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01486/0.8165, allocations: 4.994 MB / 1.252 GB, free: 3.676 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009017/0.8174, allocations: 251.5 kB / 1.252 GB, free: 3.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3138/1.131, allocations: 21.56 MB / 1.273 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001681/1.133, allocations: 67.16 kB / 1.273 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003768/1.133, allocations: 267.1 kB / 1.273 GB, free: 136.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * 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 {(8,100.0%) 16,(8,100.0%) 38} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of prepare postOptimizeDAE: time 0.0004008/1.134, allocations: 128.8 kB / 1.273 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003005/1.134, allocations: 140.3 kB / 1.273 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01369/1.148, allocations: 8.355 MB / 1.282 GB, free: 136 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/1.148, allocations: 16.41 kB / 1.282 GB, free: 136 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/1.148, allocations: 14.59 kB / 1.282 GB, free: 136 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/1.148, allocations: 10.83 kB / 1.282 GB, free: 136 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01843/1.166, allocations: 12.75 MB / 1.294 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/1.166, allocations: 8.688 kB / 1.294 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003937/1.167, allocations: 116.4 kB / 1.294 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01239/1.179, allocations: 4.771 MB / 1.299 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002077/1.179, allocations: 66.48 kB / 1.299 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02336/1.203, allocations: 18.49 MB / 1.317 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/1.203, allocations: 7.875 kB / 1.317 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0125/1.215, allocations: 7.898 MB / 1.325 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001159/1.216, allocations: 0.822 MB / 1.325 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004116/1.217, allocations: 17.17 kB / 1.325 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/1.218, allocations: 42.64 kB / 1.326 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003067/1.218, allocations: 156.7 kB / 1.326 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002606/1.218, allocations: 175.8 kB / 1.326 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.000723/1.219, allocations: 0.7803 MB / 1.327 GB, free: 130.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001841/1.221, allocations: 0.6591 MB / 1.327 GB, free: 130.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * 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 {(8,100.0%) 8,(14,76.0%) 24} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002825/1.221, allocations: 119.8 kB / 1.327 GB, free: 130.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006817/1.228, allocations: 5.74 MB / 1.333 GB, free: 130.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.228, allocations: 0 / 1.333 GB, free: 130.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005421/1.234, allocations: 3.375 MB / 1.336 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008308/1.234, allocations: 157.7 kB / 1.336 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006384/1.241, allocations: 4.379 MB / 1.341 GB, free: 129.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001404/1.242, allocations: 1.903 MB / 1.343 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of SimCode: time 5.81e-07/1.242, allocations: 0 / 1.343 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.05775/1.3, allocations: 58.24 MB / 1.399 GB, free: 101.1 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)