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.00107/0.00107, allocations: 102.2 kB / 17.06 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.001103/0.001103, allocations: 195 kB / 18 MB, free: 5.094 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.291/1.291, allocations: 205.1 MB / 223.9 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1663/0.1663, allocations: 37.97 MB / 309.2 MB, free: 5.98 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.001718/0.001718, allocations: 76.45 kB / 431.4 MB, free: 16.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09495/0.09668, allocations: 55.24 MB / 486.6 MB, free: 8.848 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.005844/0.1026, allocations: 4.693 MB / 491.3 MB, free: 4.125 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002075/0.1047, allocations: 1.399 MB / 492.7 MB, free: 2.719 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002743/0.105, allocations: 11.94 kB / 492.7 MB, free: 2.707 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.1062, allocations: 422.2 kB / 493.1 MB, free: 2.293 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005749/0.1067, allocations: 226.8 kB / 493.3 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004671/0.1072, allocations: 175.6 kB / 493.5 MB, free: 1.898 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006777/0.1079, allocations: 0.549 MB / 494.1 MB, free: 1.348 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005155/0.1084, allocations: 346.1 kB / 494.4 MB, free: 1.016 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004403/0.1089, allocations: 259 kB / 494.7 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005394/0.1094, allocations: 275 kB / 494.9 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.013e-05/0.1095, allocations: 35.94 kB / 495 MB, free: 468 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003466/0.1099, allocations: 127.8 kB / 495.1 MB, free: 340 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001947/0.1101, allocations: 183.5 kB / 495.3 MB, free: 156 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002886/0.1104, allocations: 226.9 kB / 495.5 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005675/0.111, allocations: 0.5295 MB / 496 MB, free: 15.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.111, allocations: 3.938 kB / 496 MB, free: 15.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.111, allocations: 0 / 496 MB, free: 15.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.514e-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.001203/0.1122, allocations: 0.7184 MB / 496.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.1123, allocations: 11.89 kB / 496.7 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.014e-05/0.1124, allocations: 74.72 kB / 496.8 MB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006246/0.113, allocations: 88.31 kB / 496.9 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007054/0.1137, allocations: 428 kB / 497.3 MB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.937e-05/0.1138, allocations: 25.38 kB / 497.4 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.1139, allocations: 47.92 kB / 497.4 MB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000683/0.1146, allocations: 480.8 kB / 497.9 MB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.1146, allocations: 0 / 497.9 MB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.55e-05/0.1147, allocations: 16 kB / 497.9 MB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001004/0.1148, allocations: 28.97 kB / 497.9 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005316/0.1153, allocations: 339.7 kB / 498.2 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002206/0.1175, allocations: 1.629 MB / 499.9 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003527/0.1179, allocations: 169.1 kB / 0.4883 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.1181, allocations: 117.6 kB / 0.4884 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.1181, allocations: 4 kB / 0.4884 GB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.753e-05/0.1182, allocations: 38.5 kB / 0.4885 GB, free: 10.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 2.003e-06/0.1182, allocations: 3.938 kB / 0.4885 GB, free: 10.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001655/0.1198, allocations: 0.7847 MB / 0.4892 GB, free: 10.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.131e-05/0.1199, allocations: 81.11 kB / 0.4893 GB, free: 10.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004212/0.1204, allocations: 308.7 kB / 0.4896 GB, free: 9.711 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.1204, allocations: 25.7 kB / 0.4896 GB, free: 9.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/0.1206, allocations: 251.5 kB / 0.4899 GB, free: 9.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.24e-05/0.1207, allocations: 75 kB / 0.4899 GB, free: 9.355 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.1209, allocations: 65.59 kB / 0.49 GB, free: 9.285 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1211, allocations: 342.8 kB / 0.4903 GB, free: 8.941 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.1213, allocations: 99.69 kB / 0.4904 GB, free: 8.844 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.1215, allocations: 196.8 kB / 0.4906 GB, free: 8.605 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004432/0.122, allocations: 324.6 kB / 0.4909 GB, free: 8.242 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.122, allocations: 4 kB / 0.4909 GB, free: 8.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008964/0.1229, allocations: 433.4 kB / 0.4913 GB, free: 7.805 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.1229, allocations: 8 kB / 0.4914 GB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000474/0.1234, allocations: 260.4 kB / 0.4916 GB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003438/0.1237, allocations: 85.09 kB / 0.4917 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.124, allocations: 59.91 kB / 0.4917 GB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/0.1258, allocations: 1.726 MB / 0.4934 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.126, allocations: 8 kB / 0.4934 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-05/0.1261, allocations: 19.98 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.0002997/0.1264, allocations: 193.7 kB / 0.4936 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.774e-05/0.1265, allocations: 27.62 kB / 0.4937 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004276/0.1269, allocations: 272.7 kB / 0.4939 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.1269, allocations: 4 kB / 0.4939 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.1269, allocations: 0 / 0.4939 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1269, allocations: 3.984 kB / 0.4939 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.1281, allocations: 0.7458 MB / 0.4947 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.1281, allocations: 4 kB / 0.4947 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002652/0.1284, allocations: 52.03 kB / 0.4947 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1284, allocations: 0 / 0.4947 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/0.1284, allocations: 11.94 kB / 0.4947 GB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1284, allocations: 0 / 0.4947 GB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.1284, allocations: 7.938 kB / 0.4947 GB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005186/0.1289, allocations: 457.3 kB / 0.4952 GB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.203e-05/0.129, allocations: 112.7 kB / 0.4953 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.412e-05/0.1291, allocations: 8 kB / 0.4953 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.1293, allocations: 4 kB / 0.4953 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-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.821e-05/0.1293, allocations: 15.98 kB / 0.4953 GB, free: 3.461 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002039/0.1295, allocations: 211.1 kB / 0.4955 GB, free: 3.258 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1296, allocations: 3.938 kB / 0.4955 GB, free: 3.254 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004605/0.13, allocations: 92 kB / 0.4956 GB, free: 3.164 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.0007723/0.1308, allocations: 0.9842 MB / 0.4966 GB, free: 2.145 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006372/0.1315, allocations: 378.2 kB / 0.4969 GB, free: 1.762 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1315, allocations: 0 / 0.4969 GB, free: 1.762 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.1316, allocations: 104.9 kB / 0.497 GB, free: 1.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004824/0.1321, allocations: 82 kB / 0.4971 GB, free: 1.582 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004161/0.1363, allocations: 3.53 MB / 0.5006 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004101/0.1367, allocations: 0.8461 MB / 0.5014 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001844/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.0001887/0.1371, allocations: 143.4 kB / 0.5016 GB, free: 12.77 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1371, allocations: 0 / 0.5016 GB, free: 12.77 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03117/0.1683, allocations: 7.317 MB / 0.5087 GB, free: 5.402 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.358/9.526, allocations: 11.77 kB / 0.5087 GB, free: 5.391 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)