Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001728/0.001729, allocations: 111.6 kB / 17.06 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001995/0.001995, allocations: 197.4 kB / 18.01 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1751/0.1751, allocations: 38.04 MB / 329.9 MB, free: 8.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 59.91 kB / 457.6 MB, free: 7.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3082, allocations: 58.07 MB / 0.5036 GB, free: 7.402 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.005086/0.3134, allocations: 4.691 MB / 0.5082 GB, free: 4.148 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.3151, allocations: 1.344 MB / 0.5095 GB, free: 3.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001571/0.3153, allocations: 17.72 kB / 0.5095 GB, free: 3.195 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009857/0.3163, allocations: 404.8 kB / 0.5099 GB, free: 2.953 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004501/0.3168, allocations: 239.8 kB / 0.5101 GB, free: 2.812 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004207/0.3172, allocations: 184.3 kB / 0.5103 GB, free: 2.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005104/0.3177, allocations: 0.5574 MB / 0.5109 GB, free: 2.473 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004522/0.3182, allocations: 337.8 kB / 0.5112 GB, free: 2.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002867/0.3185, allocations: 252.7 kB / 0.5114 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003844/0.3189, allocations: 276.5 kB / 0.5117 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.543e-05/0.3189, allocations: 35 kB / 0.5117 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002815/0.3192, allocations: 127.8 kB / 0.5118 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.3194, allocations: 186.6 kB / 0.512 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001937/0.3196, allocations: 222.2 kB / 0.5122 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006005/0.3202, allocations: 0.5354 MB / 0.5128 GB, free: 1.668 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3202, allocations: 0 / 0.5128 GB, free: 1.668 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3202, allocations: 0.5625 kB / 0.5128 GB, free: 1.668 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.3203, allocations: 3.938 kB / 0.5128 GB, free: 1.664 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.000973/0.3212, allocations: 0.7238 MB / 0.5135 GB, free: 1.082 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.3213, allocations: 14.3 kB / 0.5135 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.963e-05/0.3214, allocations: 81.45 kB / 0.5136 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006367/0.322, allocations: 87.89 kB / 0.5136 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005457/0.3226, allocations: 430.4 kB / 0.5141 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.3226, allocations: 23.72 kB / 0.5141 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.3227, allocations: 51.44 kB / 0.5141 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006484/0.3234, allocations: 480.4 kB / 0.5146 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.3234, allocations: 2.422 kB / 0.5146 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.304e-05/0.3234, allocations: 10.94 kB / 0.5146 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001034/0.3236, allocations: 29.28 kB / 0.5146 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005141/0.3241, allocations: 343.1 kB / 0.515 GB, free: 304 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002176/0.3263, allocations: 1.631 MB / 0.5165 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003975/0.3267, allocations: 172.8 kB / 0.5167 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.3269, allocations: 112.2 kB / 0.5168 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.3269, allocations: 5.406 kB / 0.5168 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.3269, allocations: 36.72 kB / 0.5169 GB, free: 14.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 2.254e-06/0.3269, allocations: 1.344 kB / 0.5169 GB, free: 14.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001517/0.3285, allocations: 0.7856 MB / 0.5176 GB, free: 14.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.3285, allocations: 83.52 kB / 0.5177 GB, free: 14.36 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003384/0.3289, allocations: 312.7 kB / 0.518 GB, free: 14.19 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.852e-05/0.3289, allocations: 31.08 kB / 0.518 GB, free: 14.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.3291, allocations: 253.5 kB / 0.5183 GB, free: 13.95 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.813e-05/0.3292, allocations: 80.39 kB / 0.5184 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.3293, allocations: 59.55 kB / 0.5184 GB, free: 13.85 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.3295, allocations: 341.2 kB / 0.5187 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.3297, allocations: 99.23 kB / 0.5188 GB, free: 13.49 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/0.3299, allocations: 205.8 kB / 0.519 GB, free: 13.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004498/0.3304, allocations: 329.8 kB / 0.5193 GB, free: 13.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.3304, allocations: 5.891 kB / 0.5193 GB, free: 13.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008401/0.3312, allocations: 428.1 kB / 0.5198 GB, free: 12.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.3313, allocations: 7.281 kB / 0.5198 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005155/0.3318, allocations: 266 kB / 0.52 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003383/0.3321, allocations: 85.09 kB / 0.5201 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/0.3324, allocations: 64.97 kB / 0.5202 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001723/0.3341, allocations: 1.706 MB / 0.5218 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.3343, allocations: 14.62 kB / 0.5218 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.3344, allocations: 14.81 kB / 0.5219 GB, free: 11.25 MB / 398.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000236/0.3346, allocations: 192 kB / 0.522 GB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.059e-05/0.3347, allocations: 41.61 kB / 0.5221 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004363/0.3351, allocations: 258.5 kB / 0.5223 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3351, allocations: 3.547 kB / 0.5223 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.3351, allocations: 1.25 kB / 0.5223 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3352, allocations: 0.7969 kB / 0.5223 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.3363, allocations: 0.7566 MB / 0.5231 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3364, allocations: 5.188 kB / 0.5231 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/0.3366, allocations: 51.19 kB / 0.5231 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3366, allocations: 2.422 kB / 0.5231 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.3367, allocations: 16.42 kB / 0.5231 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.3367, allocations: 2.281 kB / 0.5231 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3367, allocations: 1 kB / 0.5231 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005304/0.3372, allocations: 456.9 kB / 0.5236 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.884e-05/0.3373, allocations: 114.5 kB / 0.5237 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.194e-05/0.3374, allocations: 9.984 kB / 0.5237 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.3375, allocations: 8.125 kB / 0.5237 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.884e-05/0.3375, allocations: 10.72 kB / 0.5237 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.3376, allocations: 12.59 kB / 0.5237 GB, free: 10.05 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002081/0.3378, allocations: 217 kB / 0.5239 GB, free: 9.93 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3378, allocations: 1.375 kB / 0.5239 GB, free: 9.93 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003901/0.3382, allocations: 83.62 kB / 0.524 GB, free: 9.922 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008433/0.339, allocations: 0.9941 MB / 0.525 GB, free: 9.105 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006273/0.3397, allocations: 371.7 kB / 0.5253 GB, free: 8.914 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3397, allocations: 3.938 kB / 0.5253 GB, free: 8.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.3398, allocations: 105.2 kB / 0.5254 GB, free: 8.875 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004876/0.3403, allocations: 71.22 kB / 0.5255 GB, free: 8.848 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004414/0.3448, allocations: 3.548 MB / 0.529 GB, free: 6.496 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000488/0.3453, allocations: 0.8464 MB / 0.5298 GB, free: 5.781 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001937/0.3455, allocations: 71.41 kB / 0.5299 GB, free: 5.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/0.3457, allocations: 139.4 kB / 0.53 GB, free: 5.664 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3457, allocations: 0 / 0.53 GB, free: 5.664 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03309/0.3788, allocations: 7.2 MB / 0.537 GB, free: 3.004 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/10.7, allocations: 10.41 kB / 0.537 GB, free: 2.996 MB / 398.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1)