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.001091/0.001091, allocations: 96.64 kB / 16.3 MB, free: 5.992 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.001066/0.001066, allocations: 181.3 kB / 17.2 MB, free: 5.906 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.54/1.54, allocations: 205.4 MB / 223.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2953/0.2953, allocations: 38.05 MB / 309.7 MB, free: 8.875 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.0005282/0.0005282, allocations: 22.19 kB / 376.6 MB, free: 15.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1079, allocations: 56.33 MB / 432.9 MB, free: 6.629 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.004875/0.1129, allocations: 4.538 MB / 437.5 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002449/0.1154, allocations: 1.49 MB / 438.9 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002688/0.1156, allocations: 27.81 kB / 439 MB, free: 0.543 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003299/0.116, allocations: 107.3 kB / 439.1 MB, free: 448 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005931/0.1166, allocations: 211.4 kB / 439.3 MB, free: 236 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004839/0.1171, allocations: 179.6 kB / 439.5 MB, free: 56 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000371/0.1175, allocations: 291.4 kB / 439.7 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008212/0.1183, allocations: 0.5355 MB / 440.3 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000261/0.1186, allocations: 191.3 kB / 440.5 MB, free: 15.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003168/0.1189, allocations: 171.3 kB / 440.6 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.579e-05/0.1189, allocations: 16 kB / 440.6 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002017/0.1192, allocations: 83.86 kB / 440.7 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.1193, allocations: 155.6 kB / 440.9 MB, free: 14.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.164e-05/0.1194, allocations: 101.5 kB / 441 MB, free: 14.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00039/0.1198, allocations: 391 kB / 441.4 MB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.1198, allocations: 4 kB / 441.4 MB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1198, allocations: 0 / 441.4 MB, free: 14.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.1199, allocations: 0 / 441.4 MB, free: 14.1 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.001027/0.1209, allocations: 0.652 MB / 442 MB, free: 13.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.1209, allocations: 8.031 kB / 442 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.654e-05/0.121, allocations: 74.53 kB / 442.1 MB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006492/0.1217, allocations: 99.36 kB / 442.2 MB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006223/0.1223, allocations: 390.9 kB / 442.6 MB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.1224, allocations: 28.94 kB / 442.6 MB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.1225, allocations: 43.98 kB / 442.6 MB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006222/0.1231, allocations: 472.8 kB / 443.1 MB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.1231, allocations: 7.891 kB / 443.1 MB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.721e-05/0.1232, allocations: 16 kB / 443.1 MB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.699e-05/0.1233, allocations: 24.98 kB / 443.2 MB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004818/0.1238, allocations: 335.7 kB / 443.5 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00207/0.1258, allocations: 1.641 MB / 445.1 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003291/0.1262, allocations: 181.1 kB / 445.3 MB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.1262, allocations: 7.922 kB / 445.3 MB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.1263, allocations: 38.56 kB / 445.3 MB, free: 9.875 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 2.024e-06/0.1263, allocations: 0 / 445.3 MB, free: 9.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001241/0.1275, allocations: 0.7734 MB / 446.1 MB, free: 9.047 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.1276, allocations: 89.16 kB / 446.2 MB, free: 8.941 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002874/0.1279, allocations: 304.5 kB / 446.5 MB, free: 8.629 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.1279, allocations: 29.7 kB / 446.5 MB, free: 8.594 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.1281, allocations: 247.5 kB / 446.8 MB, free: 8.348 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.459e-05/0.1281, allocations: 74.94 kB / 446.9 MB, free: 8.273 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.499e-05/0.1282, allocations: 7.984 kB / 446.9 MB, free: 8.266 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1283, allocations: 342.8 kB / 447.2 MB, free: 7.922 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.1284, allocations: 91.95 kB / 447.3 MB, free: 7.832 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.1286, allocations: 204.6 kB / 447.5 MB, free: 7.586 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.1288, allocations: 128.1 kB / 447.6 MB, free: 7.461 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1288, allocations: 0 / 447.6 MB, free: 7.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007413/0.1296, allocations: 430.3 kB / 448 MB, free: 7.031 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.1296, allocations: 8 kB / 448 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004727/0.1301, allocations: 264.9 kB / 448.3 MB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003316/0.1304, allocations: 80.78 kB / 448.4 MB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/0.1307, allocations: 59.91 kB / 448.4 MB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/0.1322, allocations: 1.624 MB / 450.1 MB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.1324, allocations: 11.98 kB / 450.1 MB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.1324, allocations: 12 kB / 450.1 MB, free: 4.836 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002275/0.1327, allocations: 193.7 kB / 450.3 MB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.133e-05/0.1327, allocations: 31.69 kB / 450.3 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004186/0.1331, allocations: 265.8 kB / 450.6 MB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1332, allocations: 0 / 450.6 MB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.1332, allocations: 4 kB / 450.6 MB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1332, allocations: 0 / 450.6 MB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.1343, allocations: 0.7574 MB / 451.3 MB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1343, allocations: 0 / 451.3 MB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000257/0.1345, allocations: 47.97 kB / 451.4 MB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.1346, allocations: 4 kB / 451.4 MB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.1346, allocations: 11.98 kB / 451.4 MB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.1346, allocations: 0 / 451.4 MB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.1346, allocations: 15.86 kB / 451.4 MB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005067/0.1351, allocations: 478.7 kB / 451.9 MB, free: 2.926 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.197e-05/0.1352, allocations: 104.8 kB / 452 MB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.234e-05/0.1353, allocations: 11.95 kB / 452 MB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.1354, allocations: 11.98 kB / 452 MB, free: 2.781 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.1355, allocations: 16.36 kB / 452 MB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.1355, allocations: 8 kB / 452 MB, free: 2.758 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001941/0.1357, allocations: 222.9 kB / 452.2 MB, free: 2.543 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1357, allocations: 0 / 452.2 MB, free: 2.543 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000392/0.1361, allocations: 84 kB / 452.3 MB, free: 2.461 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 (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.0008492/0.1369, allocations: 1.222 MB / 453.5 MB, free: 1.188 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005751/0.1375, allocations: 379.1 kB / 453.9 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1375, allocations: 0 / 453.9 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.1377, allocations: 100.2 kB / 454 MB, free: 0.707 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.1381, allocations: 62.52 kB / 454.1 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.178/0.3161, allocations: 4.497 MB / 458.6 MB, free: 48.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.3164, allocations: 0.8542 MB / 459.4 MB, free: 47.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002009/0.3166, allocations: 77 kB / 459.5 MB, free: 47.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.3167, allocations: 139.3 kB / 459.6 MB, free: 47.9 MB / 382.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3168, allocations: 0 / 459.6 MB, free: 47.9 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01794/0.3347, allocations: 6.713 MB / 466.3 MB, free: 47.45 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001498/0.3349, allocations: 207.5 kB / 466.5 MB, free: 47.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.692/2.027, allocations: 0 / 466.5 MB, free: 47.21 MB / 382.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/linux/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) Environment - environmentSimulation: