Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Units.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") [: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/Complex 3.2.2+maint.om/package.mo): time 0.001063/0.001063, allocations: 191.6 kB / 8.135 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.146/1.146, allocations: 194.2 MB / 202.8 MB, free: 8.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001867/0.001867, allocations: 120.4 kB / 247.7 MB, free: 6.438 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1836/0.1836, allocations: 37.91 MB / 330.5 MB, free: 7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.051e-06/6.081e-06, allocations: 0 / 389.8 MB, free: 78.15 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09963/0.09965, allocations: 53.22 MB / 443 MB, free: 25.02 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3489/0.4486, allocations: 93.64 MB / 0.5241 GB, free: 9.426 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.4489, allocations: 80.39 kB / 0.5241 GB, free: 9.414 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.04833/0.4972, allocations: 18.79 MB / 0.5425 GB, free: 13.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.53e-05/0.4973, allocations: 19.94 kB / 0.5425 GB, free: 13.57 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001618/0.4989, allocations: 0.9018 MB / 0.5434 GB, free: 12.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.499, allocations: 8.031 kB / 0.5434 GB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006541/0.4996, allocations: 146.7 kB / 0.5435 GB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001812/0.5015, allocations: 0.8609 MB / 0.5444 GB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.59e-05/0.5015, allocations: 31.91 kB / 0.5444 GB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.5016, allocations: 40 kB / 0.5445 GB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001068/0.5027, allocations: 0.6971 MB / 0.5451 GB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.504, allocations: 0.9965 MB / 0.5461 GB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.028e-05/0.504, allocations: 11.94 kB / 0.5461 GB, free: 10.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.055e-05/0.5041, allocations: 4 kB / 0.5461 GB, free: 10.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.8e-05/0.5042, allocations: 49.36 kB / 0.5462 GB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004809/0.509, allocations: 4.861 MB / 0.5509 GB, free: 5.703 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005775/0.5096, allocations: 387 kB / 0.5513 GB, free: 5.406 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000275/0.5099, allocations: 211.2 kB / 0.5515 GB, free: 5.258 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.261e-05/0.5099, allocations: 12 kB / 0.5515 GB, free: 5.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.51, allocations: 38.45 kB / 0.5515 GB, free: 5.207 MB / 362.7 MB Notification: Performance of pre-optimization done (n=47): time 2.344e-06/0.51, allocations: 3.938 kB / 0.5515 GB, free: 5.203 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.001609/0.5116, allocations: 0.9083 MB / 0.5524 GB, free: 4.441 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.5117, allocations: 81.11 kB / 0.5525 GB, free: 4.344 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000398/0.5121, allocations: 398.4 kB / 0.5529 GB, free: 4.027 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.5121, allocations: 29.73 kB / 0.5529 GB, free: 3.992 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002437/0.5123, allocations: 408.7 kB / 0.5533 GB, free: 3.625 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.5125, allocations: 171 kB / 0.5535 GB, free: 3.477 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.472e-05/0.5125, allocations: 0 / 0.5535 GB, free: 3.477 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.5127, allocations: 364.2 kB / 0.5538 GB, free: 3.133 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003026/0.513, allocations: 230.9 kB / 0.554 GB, free: 2.977 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005406/0.5135, allocations: 0.5992 MB / 0.5546 GB, free: 2.285 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005066/0.514, allocations: 367.5 kB / 0.555 GB, free: 2.012 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.5141, allocations: 4 kB / 0.555 GB, free: 2.008 MB / 362.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001172/0.5152, allocations: 0.8214 MB / 0.5558 GB, free: 1.324 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.5153, allocations: 8 kB / 0.5558 GB, free: 1.316 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.5153, allocations: 12 kB / 0.5558 GB, free: 1.305 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.108e-05/0.5153, allocations: 20 kB / 0.5558 GB, free: 1.285 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006944/0.516, allocations: 199 kB / 0.556 GB, free: 1.094 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-05/0.5161, allocations: 27.91 kB / 0.556 GB, free: 1.066 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003982/0.5165, allocations: 32.36 kB / 0.5561 GB, free: 1.035 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.523e-05/0.5165, allocations: 39.38 kB / 0.5561 GB, free: 1.004 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 95 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001302/0.5167, allocations: 135.6 kB / 0.5562 GB, free: 0.8672 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.998e-05/0.5168, allocations: 58.83 kB / 0.5563 GB, free: 0.8125 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009275/0.5177, allocations: 0.5573 MB / 0.5568 GB, free: 392 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.057e-05/0.5177, allocations: 8 kB / 0.5568 GB, free: 384 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.5177, allocations: 3.938 kB / 0.5568 GB, free: 380 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.5177, allocations: 3.984 kB / 0.5568 GB, free: 376 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/0.5194, allocations: 1.218 MB / 0.558 GB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.5195, allocations: 0 / 0.558 GB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004435/0.5199, allocations: 107.8 kB / 0.5581 GB, free: 15.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.5199, allocations: 4 kB / 0.5581 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.804e-05/0.52, allocations: 4 kB / 0.5581 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.52, allocations: 4 kB / 0.5581 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/0.52, allocations: 7.906 kB / 0.5582 GB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008225/0.5208, allocations: 0.7761 MB / 0.5589 GB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.5209, allocations: 128 kB / 0.559 GB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.979e-05/0.521, allocations: 8 kB / 0.559 GB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002684/0.5213, allocations: 11.98 kB / 0.5591 GB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.5214, allocations: 27.81 kB / 0.5591 GB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.068e-05/0.5214, allocations: 19.92 kB / 0.5591 GB, free: 14.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002562/0.5217, allocations: 284.8 kB / 0.5594 GB, free: 14.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007223/0.5224, allocations: 163.4 kB / 0.5595 GB, free: 13.89 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002199/0.5226, allocations: 131.5 kB / 0.5596 GB, free: 13.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007791/0.5234, allocations: 0.5888 MB / 0.5602 GB, free: 13.31 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5234, allocations: 4.312 kB / 0.5602 GB, free: 13.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002998/0.5237, allocations: 248.7 kB / 0.5605 GB, free: 13.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004946/0.5242, allocations: 84.66 kB / 0.5605 GB, free: 13.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.526, allocations: 1.042 MB / 0.5616 GB, free: 12.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007378/0.5268, allocations: 1.089 MB / 0.5626 GB, free: 11.01 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5268, allocations: 0 / 0.5626 GB, free: 11.01 MB / 378.7 MB Notification: Performance of Templates: time 0.01188/0.5387, allocations: 5.886 MB / 0.5684 GB, free: 5.203 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Units.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Units.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Units.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Units -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Units.pipe 2>&1)