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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 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.001107/0.001107, allocations: 106.4 kB / 17.06 MB, free: 6.027 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.001031/0.001031, allocations: 195 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1803/0.1803, allocations: 37.98 MB / 309.2 MB, free: 5.961 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001407, allocations: 63.91 kB / 431.4 MB, free: 16.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09303/0.09445, allocations: 55.25 MB / 486.6 MB, free: 8.844 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.006002/0.1005, allocations: 4.697 MB / 491.3 MB, free: 4.117 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002513/0.103, allocations: 1.391 MB / 492.7 MB, free: 2.719 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003957/0.1035, allocations: 11.94 kB / 492.7 MB, free: 2.707 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001395/0.1049, allocations: 414.2 kB / 493.1 MB, free: 2.301 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007153/0.1056, allocations: 234.8 kB / 493.3 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005573/0.1062, allocations: 179.6 kB / 493.5 MB, free: 1.895 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007813/0.107, allocations: 0.549 MB / 494.1 MB, free: 1.344 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006874/0.1077, allocations: 342.1 kB / 494.4 MB, free: 1.016 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006399/0.1084, allocations: 263 kB / 494.7 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008046/0.1092, allocations: 279 kB / 494.9 MB, free: 496 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.1093, allocations: 31.94 kB / 495 MB, free: 464 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000404/0.1097, allocations: 131.8 kB / 495.1 MB, free: 332 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002354/0.1099, allocations: 183.5 kB / 495.3 MB, free: 148 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003388/0.1103, allocations: 222.9 kB / 495.5 MB, free: 15.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006824/0.111, allocations: 0.5295 MB / 496 MB, free: 15.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.111, allocations: 0 / 496 MB, free: 15.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.111, allocations: 0 / 496 MB, free: 15.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.046e-05/0.111, allocations: 0 / 496 MB, free: 15.39 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.001287/0.1123, allocations: 0.7184 MB / 496.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.1124, allocations: 15.89 kB / 496.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.723e-05/0.1125, allocations: 70.72 kB / 496.8 MB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007523/0.1132, allocations: 88.31 kB / 496.9 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008668/0.1141, allocations: 428 kB / 497.3 MB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.1142, allocations: 21.38 kB / 497.3 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.1143, allocations: 43.94 kB / 497.4 MB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008044/0.1151, allocations: 484.8 kB / 497.9 MB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.1152, allocations: 0 / 497.9 MB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.141e-05/0.1152, allocations: 19.98 kB / 497.9 MB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001103/0.1153, allocations: 24.98 kB / 497.9 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006597/0.116, allocations: 343.7 kB / 498.2 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002475/0.1185, allocations: 1.621 MB / 499.9 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003351/0.1188, allocations: 177.1 kB / 0.4883 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.119, allocations: 113.7 kB / 0.4884 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.119, allocations: 0 / 0.4884 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.1191, allocations: 42.44 kB / 0.4885 GB, free: 10.97 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 1.312e-06/0.1191, allocations: 0 / 0.4885 GB, free: 10.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001344/0.1204, allocations: 0.7885 MB / 0.4892 GB, free: 10.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.545e-05/0.1205, allocations: 81.23 kB / 0.4893 GB, free: 10.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003281/0.1209, allocations: 308.5 kB / 0.4896 GB, free: 9.715 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.1209, allocations: 25.7 kB / 0.4896 GB, free: 9.684 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.1211, allocations: 255.5 kB / 0.4899 GB, free: 9.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.164e-05/0.1212, allocations: 75 kB / 0.4899 GB, free: 9.355 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.1213, allocations: 61.61 kB / 0.49 GB, free: 9.289 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1214, allocations: 342.8 kB / 0.4903 GB, free: 8.945 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.1216, allocations: 95.7 kB / 0.4904 GB, free: 8.852 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.1218, allocations: 196.8 kB / 0.4906 GB, free: 8.613 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003996/0.1222, allocations: 328.5 kB / 0.4909 GB, free: 8.246 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1222, allocations: 3.938 kB / 0.4909 GB, free: 8.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007504/0.123, allocations: 437.2 kB / 0.4913 GB, free: 7.805 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.123, allocations: 4 kB / 0.4914 GB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004784/0.1235, allocations: 260.5 kB / 0.4916 GB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003405/0.1238, allocations: 85.22 kB / 0.4917 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000246/0.1241, allocations: 63.89 kB / 0.4917 GB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001716/0.1258, allocations: 1.73 MB / 0.4934 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.126, allocations: 8 kB / 0.4934 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.1261, allocations: 16 kB / 0.4935 GB, free: 5.5 MB / 382.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.0002279/0.1263, allocations: 189.7 kB / 0.4936 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.756e-05/0.1264, allocations: 35.69 kB / 0.4937 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004487/0.1268, allocations: 268.6 kB / 0.4939 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1268, allocations: 0 / 0.4939 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.1268, allocations: 4 kB / 0.4939 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1269, allocations: 0 / 0.4939 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.1281, allocations: 0.7536 MB / 0.4947 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.1281, allocations: 0 / 0.4947 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002674/0.1284, allocations: 47.97 kB / 0.4947 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1284, allocations: 4 kB / 0.4947 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.1284, allocations: 11.94 kB / 0.4947 GB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.1284, allocations: 0 / 0.4947 GB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.1284, allocations: 11.88 kB / 0.4947 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005192/0.129, allocations: 453.4 kB / 0.4952 GB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.668e-05/0.1291, allocations: 108.7 kB / 0.4953 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.691e-05/0.1291, allocations: 4 kB / 0.4953 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.1293, allocations: 12.03 kB / 0.4953 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.1293, allocations: 11.98 kB / 0.4953 GB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.1293, allocations: 8 kB / 0.4953 GB, free: 3.469 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001956/0.1295, allocations: 223 kB / 0.4955 GB, free: 3.254 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1295, allocations: 3.938 kB / 0.4955 GB, free: 3.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000391/0.1299, allocations: 84 kB / 0.4956 GB, free: 3.168 MB / 382.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.0008049/0.1307, allocations: 0.9881 MB / 0.4966 GB, free: 2.145 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006558/0.1314, allocations: 374.3 kB / 0.4969 GB, free: 1.766 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.1314, allocations: 0 / 0.4969 GB, free: 1.766 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001706/0.1316, allocations: 100.8 kB / 0.497 GB, free: 1.668 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004738/0.1321, allocations: 74.22 kB / 0.4971 GB, free: 1.598 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004188/0.1363, allocations: 3.538 MB / 0.5005 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004356/0.1367, allocations: 0.8539 MB / 0.5014 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001895/0.1369, allocations: 66.91 kB / 0.5014 GB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/0.1371, allocations: 139.4 kB / 0.5016 GB, free: 12.78 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1371, allocations: 0 / 0.5016 GB, free: 12.78 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02651/0.1637, allocations: 7.309 MB / 0.5087 GB, free: 5.414 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.123/9.286, allocations: 19.64 kB / 0.5087 GB, free: 5.395 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)