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: translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 110.2 kB / 17.07 MB, free: 6.016 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.001099/0.001099, allocations: 191 kB / 18 MB, free: 5.098 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.377/1.377, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1838/0.1838, allocations: 38.04 MB / 329.9 MB, free: 8.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 63.89 kB / 458.1 MB, free: 6.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3863, allocations: 58.06 MB / 0.5041 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.005587/0.3919, allocations: 4.695 MB / 0.5087 GB, free: 4.504 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.394, allocations: 1.342 MB / 0.51 GB, free: 3.562 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001964/0.3942, allocations: 21.19 kB / 0.51 GB, free: 3.551 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001192/0.3954, allocations: 398.2 kB / 0.5104 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005113/0.3959, allocations: 246.5 kB / 0.5106 GB, free: 3.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004686/0.3964, allocations: 180.3 kB / 0.5108 GB, free: 3.082 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006316/0.397, allocations: 0.5503 MB / 0.5113 GB, free: 2.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005171/0.3976, allocations: 343.1 kB / 0.5117 GB, free: 2.707 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003166/0.3979, allocations: 251.3 kB / 0.5119 GB, free: 2.594 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004202/0.3983, allocations: 280.3 kB / 0.5122 GB, free: 2.477 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.842e-05/0.3984, allocations: 31.12 kB / 0.5122 GB, free: 2.477 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000292/0.3987, allocations: 128.3 kB / 0.5123 GB, free: 2.441 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002231/0.3989, allocations: 178.9 kB / 0.5125 GB, free: 2.383 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002239/0.3991, allocations: 229.5 kB / 0.5127 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006759/0.3998, allocations: 0.527 MB / 0.5132 GB, free: 2.043 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.3998, allocations: 4.75 kB / 0.5132 GB, free: 2.039 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3998, allocations: 1.531 kB / 0.5132 GB, free: 2.039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.3999, allocations: 0 / 0.5132 GB, free: 2.039 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.0011/0.401, allocations: 0.727 MB / 0.5139 GB, free: 1.453 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.401, allocations: 13.11 kB / 0.514 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007032/0.4017, allocations: 92.41 kB / 0.514 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000647/0.4024, allocations: 422.8 kB / 0.5144 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.225e-05/0.4024, allocations: 31.31 kB / 0.5145 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.4026, allocations: 54.73 kB / 0.5145 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000782/0.4034, allocations: 474.2 kB / 0.515 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.4034, allocations: 1.062 kB / 0.515 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.973e-05/0.4034, allocations: 16.41 kB / 0.515 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001058/0.4035, allocations: 31.47 kB / 0.515 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005778/0.4041, allocations: 343.9 kB / 0.5154 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002336/0.4065, allocations: 1.619 MB / 0.5169 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004232/0.4069, allocations: 179.2 kB / 0.5171 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.4071, allocations: 116.3 kB / 0.5172 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.4072, allocations: 2.062 kB / 0.5172 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.4072, allocations: 41.33 kB / 0.5173 GB, free: 15.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=19): time 1.633e-06/0.4072, allocations: 0 / 0.5173 GB, free: 15.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001793/0.409, allocations: 0.7966 MB / 0.518 GB, free: 14.88 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.938e-05/0.4091, allocations: 80.03 kB / 0.5181 GB, free: 14.79 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000477/0.4096, allocations: 308 kB / 0.5184 GB, free: 14.62 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.597e-05/0.4097, allocations: 30.84 kB / 0.5184 GB, free: 14.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002794/0.4099, allocations: 258.1 kB / 0.5187 GB, free: 14.38 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.4101, allocations: 76.02 kB / 0.5188 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.4102, allocations: 63.05 kB / 0.5188 GB, free: 14.28 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002334/0.4105, allocations: 341.7 kB / 0.5191 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/0.4107, allocations: 100 kB / 0.5192 GB, free: 13.92 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003124/0.411, allocations: 196.3 kB / 0.5194 GB, free: 13.76 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006052/0.4116, allocations: 334.3 kB / 0.5197 GB, free: 13.53 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.4116, allocations: 5.156 kB / 0.5197 GB, free: 13.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001046/0.4127, allocations: 428.7 kB / 0.5202 GB, free: 13.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.4127, allocations: 11.77 kB / 0.5202 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000636/0.4134, allocations: 270.5 kB / 0.5204 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004125/0.4138, allocations: 75.92 kB / 0.5205 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/0.4141, allocations: 63.94 kB / 0.5206 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/0.4159, allocations: 1.707 MB / 0.5222 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.4162, allocations: 14.83 kB / 0.5222 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/0.4162, allocations: 16.06 kB / 0.5223 GB, free: 11.68 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.0002913/0.4165, allocations: 191.9 kB / 0.5224 GB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.185e-05/0.4166, allocations: 34.12 kB / 0.5225 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004802/0.4171, allocations: 266.1 kB / 0.5227 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.4171, allocations: 3.656 kB / 0.5227 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.4171, allocations: 0 / 0.5227 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.4171, allocations: 2.453 kB / 0.5227 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.4184, allocations: 0.7486 MB / 0.5235 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.4184, allocations: 1.344 kB / 0.5235 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002792/0.4187, allocations: 56.02 kB / 0.5235 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.4187, allocations: 2 kB / 0.5235 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.4187, allocations: 15.47 kB / 0.5235 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.4187, allocations: 2.422 kB / 0.5235 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.4187, allocations: 1.438 kB / 0.5235 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000585/0.4193, allocations: 457.8 kB / 0.524 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.098e-05/0.4194, allocations: 110.9 kB / 0.5241 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.754e-05/0.4195, allocations: 17.31 kB / 0.5241 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.4196, allocations: 4.25 kB / 0.5241 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.4197, allocations: 20.08 kB / 0.5241 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.4197, allocations: 5.5 kB / 0.5241 GB, free: 10.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002282/0.4199, allocations: 220.7 kB / 0.5243 GB, free: 10.36 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.4199, allocations: 0 / 0.5243 GB, free: 10.36 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004383/0.4204, allocations: 85 kB / 0.5244 GB, free: 10.35 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.000131/0.4205, allocations: 100.2 kB / 0.5245 GB, free: 10.26 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006805/0.4212, allocations: 379.6 kB / 0.5249 GB, free: 10.06 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.4212, allocations: 4 kB / 0.5249 GB, free: 10.05 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.4214, allocations: 96.81 kB / 0.525 GB, free: 10.03 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005071/0.4219, allocations: 73.42 kB / 0.525 GB, free: 9.996 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.4234, allocations: 0.9222 MB / 0.5259 GB, free: 9.426 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004796/0.4239, allocations: 0.8482 MB / 0.5268 GB, free: 8.711 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001957/0.4241, allocations: 69.73 kB / 0.5268 GB, free: 8.699 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.739e-05/0.4241, allocations: 27.53 kB / 0.5269 GB, free: 8.691 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4242, allocations: 0 / 0.5269 GB, free: 8.691 MB / 398.1 MB Notification: Performance of Templates: time 0.008271/0.4324, allocations: 3.564 MB / 0.5303 GB, free: 7.91 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile (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 & ./PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1)