Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) 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) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") [: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.3+maint.om/package.mo): time 0.001949/0.001949, allocations: 175 kB / 8.132 MB, free: 0.8789 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.253/1.253, allocations: 205.2 MB / 213.7 MB, free: 8.582 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008442/0.0008443, allocations: 88.88 kB / 261.7 MB, free: 5.113 MB / 210.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1631/0.1631, allocations: 37.97 MB / 347.7 MB, free: 0.8594 MB / 290.8 MB Notification: Performance of FrontEnd - loaded program: time 6.032e-06/6.122e-06, allocations: 0 / 410 MB, free: 74.45 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08208/0.0821, allocations: 56.34 MB / 466.3 MB, free: 18.1 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2621/0.3442, allocations: 95.61 MB / 0.5488 GB, free: 180 kB / 354.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002028/0.3445, allocations: 84.7 kB / 0.5489 GB, free: 136 kB / 354.8 MB Notification: Performance of FrontEnd: time 0.03319/0.3777, allocations: 12.11 MB / 0.5607 GB, free: 5.91 MB / 370.8 MB Notification: Performance of Transformations before backend: time 2.047e-05/0.3778, allocations: 4 kB / 0.5607 GB, free: 5.906 MB / 370.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0009166/0.3787, allocations: 0.6201 MB / 0.5613 GB, free: 5.266 MB / 370.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.3787, allocations: 8.031 kB / 0.5613 GB, free: 5.258 MB / 370.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006093/0.3794, allocations: 91.36 kB / 0.5614 GB, free: 5.168 MB / 370.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002144/0.3815, allocations: 0.8615 MB / 0.5622 GB, free: 4.41 MB / 370.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.3816, allocations: 12 kB / 0.5622 GB, free: 4.398 MB / 370.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.856e-05/0.3816, allocations: 27.98 kB / 0.5623 GB, free: 4.371 MB / 370.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000492/0.3821, allocations: 288.7 kB / 0.5625 GB, free: 4.18 MB / 370.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005848/0.3827, allocations: 420.8 kB / 0.5629 GB, free: 3.844 MB / 370.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.3827, allocations: 0 / 0.5629 GB, free: 3.844 MB / 370.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.2e-05/0.3828, allocations: 4 kB / 0.5629 GB, free: 3.84 MB / 370.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.69e-05/0.3828, allocations: 24.7 kB / 0.563 GB, free: 3.82 MB / 370.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001988/0.3848, allocations: 1.65 MB / 0.5646 GB, free: 2.289 MB / 370.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.385, allocations: 132.2 kB / 0.5647 GB, free: 2.176 MB / 370.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.3852, allocations: 108.4 kB / 0.5648 GB, free: 2.102 MB / 370.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.3852, allocations: 4 kB / 0.5648 GB, free: 2.098 MB / 370.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.3852, allocations: 41.78 kB / 0.5649 GB, free: 2.051 MB / 370.8 MB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.3853, allocations: 0 / 0.5649 GB, free: 2.051 MB / 370.8 MB Notification: Performance of matching and sorting (n=17): time 0.001053/0.3863, allocations: 0.6749 MB / 0.5655 GB, free: 1.41 MB / 370.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.3864, allocations: 81.02 kB / 0.5656 GB, free: 1.312 MB / 370.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.3866, allocations: 248.9 kB / 0.5658 GB, free: 1.105 MB / 370.8 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.3866, allocations: 25.7 kB / 0.5659 GB, free: 1.074 MB / 370.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.3867, allocations: 229.8 kB / 0.5661 GB, free: 0.8633 MB / 370.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.805e-05/0.3868, allocations: 62.09 kB / 0.5661 GB, free: 0.8086 MB / 370.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.179e-05/0.3868, allocations: 0 / 0.5661 GB, free: 0.8086 MB / 370.8 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.3869, allocations: 340.1 kB / 0.5665 GB, free: 492 kB / 370.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.3871, allocations: 90.62 kB / 0.5665 GB, free: 428 kB / 370.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/0.3873, allocations: 192.9 kB / 0.5667 GB, free: 228 kB / 370.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.3874, allocations: 133.8 kB / 0.5669 GB, free: 132 kB / 370.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.3874, allocations: 4 kB / 0.5669 GB, free: 128 kB / 370.8 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008183/0.3883, allocations: 444.7 kB / 0.5673 GB, free: 15.77 MB / 386.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.3883, allocations: 4 kB / 0.5673 GB, free: 15.76 MB / 386.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005694/0.3889, allocations: 295.4 kB / 0.5676 GB, free: 15.54 MB / 386.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004812/0.3894, allocations: 143.5 kB / 0.5677 GB, free: 15.42 MB / 386.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.3896, allocations: 51.91 kB / 0.5678 GB, free: 15.37 MB / 386.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/0.3918, allocations: 2.028 MB / 0.5697 GB, free: 13.47 MB / 386.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.392, allocations: 15.83 kB / 0.5698 GB, free: 13.46 MB / 386.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.392, allocations: 15.44 kB / 0.5698 GB, free: 13.45 MB / 386.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 9.263e-05/0.3921, allocations: 112.9 kB / 0.5699 GB, free: 13.33 MB / 386.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.566e-05/0.3922, allocations: 31.62 kB / 0.5699 GB, free: 13.3 MB / 386.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003951/0.3926, allocations: 247.5 kB / 0.5701 GB, free: 13.11 MB / 386.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3926, allocations: 0 / 0.5701 GB, free: 13.11 MB / 386.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3926, allocations: 4 kB / 0.5701 GB, free: 13.1 MB / 386.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3926, allocations: 0 / 0.5701 GB, free: 13.1 MB / 386.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.3937, allocations: 0.6967 MB / 0.5708 GB, free: 12.46 MB / 386.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.3937, allocations: 4 kB / 0.5708 GB, free: 12.46 MB / 386.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002253/0.3939, allocations: 31.98 kB / 0.5709 GB, free: 12.43 MB / 386.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001054/0.3941, allocations: 44.14 kB / 0.5709 GB, free: 12.39 MB / 386.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.3941, allocations: 3.984 kB / 0.5709 GB, free: 12.39 MB / 386.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.3941, allocations: 7.938 kB / 0.5709 GB, free: 12.38 MB / 386.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3941, allocations: 7.922 kB / 0.5709 GB, free: 12.37 MB / 386.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005272/0.3946, allocations: 497.8 kB / 0.5714 GB, free: 11.91 MB / 386.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.89e-05/0.3947, allocations: 108.9 kB / 0.5715 GB, free: 11.78 MB / 386.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.335e-05/0.3948, allocations: 0 / 0.5715 GB, free: 11.78 MB / 386.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.395, allocations: 11.98 kB / 0.5715 GB, free: 11.77 MB / 386.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.034e-05/0.395, allocations: 19.11 kB / 0.5715 GB, free: 11.75 MB / 386.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.395, allocations: 4 kB / 0.5715 GB, free: 11.75 MB / 386.8 MB Notification: Performance of sort global known variables: time 0.0001486/0.3952, allocations: 190.6 kB / 0.5717 GB, free: 11.6 MB / 386.8 MB Notification: Performance of remove unused functions: time 0.0004393/0.3956, allocations: 84 kB / 0.5718 GB, free: 11.52 MB / 386.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000163/0.3958, allocations: 123.2 kB / 0.5719 GB, free: 11.39 MB / 386.8 MB Notification: Performance of simCode: created initialization part: time 0.0005563/0.3964, allocations: 366.9 kB / 0.5723 GB, free: 11.09 MB / 386.8 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3964, allocations: 4 kB / 0.5723 GB, free: 11.09 MB / 386.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.3965, allocations: 175 kB / 0.5724 GB, free: 10.92 MB / 386.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.3969, allocations: 47.98 kB / 0.5725 GB, free: 10.88 MB / 386.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.398, allocations: 0.6751 MB / 0.5731 GB, free: 10.22 MB / 386.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000462/0.3985, allocations: 0.8696 MB / 0.574 GB, free: 9.34 MB / 386.8 MB Notification: Performance of SimCode: time 2.7e-07/0.3985, allocations: 4 kB / 0.574 GB, free: 9.336 MB / 386.8 MB Notification: Performance of Templates: time 0.0075/0.406, allocations: 3.565 MB / 0.5775 GB, free: 5.805 MB / 386.8 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PQsource.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches