Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Transformer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Transformer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) [: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.001113/0.001113, allocations: 180.1 kB / 8.134 MB, free: 2.211 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.037/1.037, allocations: 194.2 MB / 202.8 MB, free: 8.66 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.00179/0.00179, allocations: 124.9 kB / 247.8 MB, free: 6.395 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1578/0.1578, allocations: 37.92 MB / 330.6 MB, free: 6.906 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1629/0.3207, allocations: 59.34 MB / 389.9 MB, free: 78.02 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06878/0.3895, allocations: 53.22 MB / 443.1 MB, free: 24.89 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2354/0.6249, allocations: 104.3 MB / 0.5346 GB, free: 3.434 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000197/0.6251, allocations: 95.12 kB / 0.5347 GB, free: 3.387 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.08044/0.7056, allocations: 30.28 MB / 0.5643 GB, free: 9.449 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.7056, allocations: 12 kB / 0.5643 GB, free: 9.438 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001633/0.7073, allocations: 250.4 kB / 0.5645 GB, free: 9.191 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003703/0.711, allocations: 1.446 MB / 0.5659 GB, free: 7.945 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.77e-05/0.7111, allocations: 31.94 kB / 0.5659 GB, free: 7.914 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001923/0.7113, allocations: 51.98 kB / 0.566 GB, free: 7.863 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001465/0.7127, allocations: 0.9204 MB / 0.5669 GB, free: 7.223 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/0.7145, allocations: 1.233 MB / 0.5681 GB, free: 6.164 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.171e-05/0.7145, allocations: 7.938 kB / 0.5681 GB, free: 6.156 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.641e-05/0.7146, allocations: 4 kB / 0.5681 GB, free: 6.152 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001506/0.7147, allocations: 109.2 kB / 0.5682 GB, free: 6.055 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006246/0.721, allocations: 5.633 MB / 0.5737 GB, free: 0.8047 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.7221, allocations: 0.791 MB / 0.5745 GB, free: 136 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004842/0.7226, allocations: 364.3 kB / 0.5748 GB, free: 15.89 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.374e-05/0.7227, allocations: 23.28 kB / 0.5749 GB, free: 15.87 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006071/0.7233, allocations: 0.4889 MB / 0.5753 GB, free: 15.46 MB / 394.7 MB Notification: Performance of pre-optimization done (n=74): time 4.218e-06/0.7233, allocations: 0 / 0.5753 GB, free: 15.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=75): time 0.003087/0.7264, allocations: 1.91 MB / 0.5772 GB, free: 13.85 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.742e-05/0.7265, allocations: 174.5 kB / 0.5774 GB, free: 13.64 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006151/0.7272, allocations: 0.507 MB / 0.5779 GB, free: 13.23 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.877e-05/0.7272, allocations: 25.7 kB / 0.5779 GB, free: 13.2 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003126/0.7275, allocations: 457.2 kB / 0.5783 GB, free: 12.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/0.7277, allocations: 250.8 kB / 0.5786 GB, free: 12.58 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.162e-05/0.7278, allocations: 0 / 0.5786 GB, free: 12.58 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.728, allocations: 388.2 kB / 0.5789 GB, free: 12.22 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004907/0.7285, allocations: 354.5 kB / 0.5793 GB, free: 11.98 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007397/0.7292, allocations: 0.7397 MB / 0.58 GB, free: 11.2 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007582/0.73, allocations: 0.5089 MB / 0.5805 GB, free: 10.81 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.73, allocations: 8 kB / 0.5805 GB, free: 10.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002372/0.7324, allocations: 1.345 MB / 0.5818 GB, free: 9.711 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.7324, allocations: 8 kB / 0.5818 GB, free: 9.703 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001515/0.7339, allocations: 0.8626 MB / 0.5827 GB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007339/0.7347, allocations: 249.5 kB / 0.5829 GB, free: 8.742 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007625/0.7354, allocations: 215.6 kB / 0.5831 GB, free: 8.531 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003799/0.7393, allocations: 3.748 MB / 0.5868 GB, free: 4.551 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000726/0.74, allocations: 31.97 kB / 0.5868 GB, free: 4.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001524/0.7402, allocations: 64.11 kB / 0.5869 GB, free: 4.457 MB / 394.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: 11 (system.initime,$whenCondition1,$whenCondition2,$PRE.tapChanger.cnt_1,tapChanger.cnt_1,$PRE.tapChanger.cnt_2,tapChanger.cnt_2,$PRE.tapChanger.tap_1,tapChanger.tap_1,$PRE.tapChanger.tap_2,tapChanger.tap_2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 111 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000249/0.7404, allocations: 191.7 kB / 0.587 GB, free: 4.258 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.7406, allocations: 75.06 kB / 0.5871 GB, free: 4.184 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001565/0.7422, allocations: 0.8711 MB / 0.588 GB, free: 3.305 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.543e-05/0.7422, allocations: 19.89 kB / 0.588 GB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.7422, allocations: 0 / 0.588 GB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.7422, allocations: 3.984 kB / 0.588 GB, free: 3.281 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002766/0.745, allocations: 1.724 MB / 0.5897 GB, free: 1.496 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.745, allocations: 0 / 0.5897 GB, free: 1.496 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008136/0.7458, allocations: 159.8 kB / 0.5898 GB, free: 1.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.7458, allocations: 4 kB / 0.5898 GB, free: 1.336 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.935e-05/0.7459, allocations: 15.98 kB / 0.5898 GB, free: 1.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.7459, allocations: 8.156 kB / 0.5898 GB, free: 1.312 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.7459, allocations: 4 kB / 0.5898 GB, free: 1.309 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001774/0.7477, allocations: 1.468 MB / 0.5913 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002459/0.7502, allocations: 2.336 MB / 0.5936 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003374/0.7505, allocations: 219.9 kB / 0.5938 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/0.7507, allocations: 7.984 kB / 0.5938 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004377/0.7511, allocations: 27.97 kB / 0.5938 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.7512, allocations: 44.36 kB / 0.5938 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.402e-05/0.7513, allocations: 39.95 kB / 0.5939 GB, free: 13.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0004164/0.7517, allocations: 379.1 kB / 0.5942 GB, free: 12.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001471/0.7532, allocations: 228.1 kB / 0.5945 GB, free: 12.42 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (trafo.i1[1],trafo.i1[2],trafo.i1[3]) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 63 * Array equations: 2 * Algorithm blocks: 1 * 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.0002795/0.7535, allocations: 169.3 kB / 0.5946 GB, free: 12.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001747/0.7552, allocations: 1.188 MB / 0.5958 GB, free: 11.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.7553, allocations: 1.625 kB / 0.5958 GB, free: 11.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006344/0.7559, allocations: 491.5 kB / 0.5963 GB, free: 10.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005825/0.7565, allocations: 106.8 kB / 0.5964 GB, free: 10.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002909/0.7594, allocations: 1.633 MB / 0.598 GB, free: 8.766 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00104/0.7605, allocations: 1.196 MB / 0.5991 GB, free: 7.543 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.7605, allocations: 0 / 0.5991 GB, free: 7.543 MB / 410.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1)