Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",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.00118/0.00118, allocations: 107.3 kB / 16.92 MB, free: 5.77 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.001106/0.001106, allocations: 191.3 kB / 17.85 MB, free: 5.168 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.281/1.281, allocations: 222.9 MB / 241.5 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1713/0.1713, allocations: 38.02 MB / 329.7 MB, free: 8.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 61.47 kB / 398.9 MB, free: 33.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09916/0.1004, allocations: 58.07 MB / 457 MB, free: 7.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.007312/0.1077, allocations: 5.495 MB / 462.5 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002663/0.1104, allocations: 1.305 MB / 463.8 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005531/0.111, allocations: 15.94 kB / 463.8 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006591/0.1117, allocations: 139 kB / 463.9 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001163/0.1129, allocations: 370.3 kB / 464.3 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004148/0.1133, allocations: 135.8 kB / 464.4 MB, free: 492 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001045/0.1144, allocations: 0.7476 MB / 465.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003313/0.1147, allocations: 204.1 kB / 465.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006459/0.1154, allocations: 334.5 kB / 465.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008305/0.1162, allocations: 378.7 kB / 466.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.1164, allocations: 40 kB / 466.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.1165, allocations: 36 kB / 466.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002239/0.1167, allocations: 195.4 kB / 466.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003326/0.1171, allocations: 246.7 kB / 466.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000584/0.1177, allocations: 0.5177 MB / 467.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1177, allocations: 4 kB / 467.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1177, allocations: 0 / 467.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.559e-05/0.1177, allocations: 0 / 467.1 MB, free: 13.79 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001563/0.1193, allocations: 0.8047 MB / 467.9 MB, free: 12.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.1194, allocations: 15.89 kB / 467.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001093/0.1195, allocations: 78.72 kB / 468 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.1196, allocations: 52.28 kB / 468 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007506/0.1203, allocations: 464.1 kB / 468.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.26e-05/0.1204, allocations: 29 kB / 468.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.848e-05/0.1205, allocations: 40 kB / 468.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000749/0.1212, allocations: 0.4961 MB / 469 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.1212, allocations: 4 kB / 469.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.422e-05/0.1213, allocations: 16 kB / 469.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.902e-05/0.1213, allocations: 20.98 kB / 469.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005777/0.1219, allocations: 363.7 kB / 469.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002397/0.1243, allocations: 2.091 MB / 471.5 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004071/0.1248, allocations: 233.4 kB / 471.8 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002408/0.125, allocations: 145.6 kB / 471.9 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.125, allocations: 4 kB / 471.9 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.1251, allocations: 34.56 kB / 471.9 MB, free: 8.629 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 2.595e-06/0.1251, allocations: 0 / 471.9 MB, free: 8.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001222/0.1263, allocations: 0.766 MB / 472.7 MB, free: 7.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.1264, allocations: 84.98 kB / 472.8 MB, free: 7.711 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003893/0.1268, allocations: 381.5 kB / 473.2 MB, free: 7.328 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.1268, allocations: 25.7 kB / 473.2 MB, free: 7.297 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002311/0.127, allocations: 291.1 kB / 473.5 MB, free: 7.008 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.693e-05/0.1271, allocations: 86.83 kB / 473.6 MB, free: 6.922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.1272, allocations: 74.05 kB / 473.6 MB, free: 6.844 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.1274, allocations: 354.8 kB / 474 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.1275, allocations: 80.83 kB / 474.1 MB, free: 6.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002712/0.1278, allocations: 281.7 kB / 474.3 MB, free: 6.043 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004755/0.1283, allocations: 407.2 kB / 474.7 MB, free: 5.559 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.1283, allocations: 0 / 474.7 MB, free: 5.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007441/0.1291, allocations: 455.6 kB / 475.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.1291, allocations: 15.92 kB / 475.2 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.1291, allocations: 4.75 kB / 475.2 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002451/0.1294, allocations: 56.83 kB / 475.2 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002581/0.1296, allocations: 83.84 kB / 475.3 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001482/0.1311, allocations: 1.606 MB / 476.9 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002071/0.1313, allocations: 19.98 kB / 477 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.1314, allocations: 24 kB / 477 MB, free: 3.156 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001944/0.1316, allocations: 201.7 kB / 477.2 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.915e-05/0.1316, allocations: 43.47 kB / 477.2 MB, free: 2.906 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003282/0.132, allocations: 233.1 kB / 477.4 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.132, allocations: 4 kB / 477.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.132, allocations: 0 / 477.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.132, allocations: 3.984 kB / 477.5 MB, free: 2.664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007602/0.1328, allocations: 0.6786 MB / 478.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1328, allocations: 4.031 kB / 478.1 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/0.133, allocations: 55.91 kB / 478.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.133, allocations: 0 / 478.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.1331, allocations: 8 kB / 478.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1331, allocations: 3.938 kB / 478.2 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1331, allocations: 0 / 478.2 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004868/0.1336, allocations: 440.8 kB / 478.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.1337, allocations: 124.7 kB / 478.8 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/0.1337, allocations: 8 kB / 478.8 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.1339, allocations: 0 / 478.8 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.1339, allocations: 19.92 kB / 478.8 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.1339, allocations: 7.984 kB / 478.8 MB, free: 1.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002319/0.1342, allocations: 259.2 kB / 479 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1342, allocations: 0 / 479 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004168/0.1346, allocations: 88 kB / 479.1 MB, free: 0.8945 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * 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 (24): * Single equations (assignments): 23 * 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.0007489/0.1353, allocations: 0.9664 MB / 480.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006453/0.136, allocations: 414.5 kB / 480.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.136, allocations: 1.562 kB / 480.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.1362, allocations: 99.83 kB / 480.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005491/0.1367, allocations: 100.5 kB / 480.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004255/0.141, allocations: 3.734 MB / 484.4 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005387/0.1415, allocations: 0.8545 MB / 485.3 MB, free: 10.4 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002988/0.1418, allocations: 84.12 kB / 485.4 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002004/0.1421, allocations: 147.4 kB / 485.5 MB, free: 10.17 MB / 366.1 MB Notification: Performance of SimCode: time 1.343e-06/0.1421, allocations: 0 / 485.5 MB, free: 10.17 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0283/0.1704, allocations: 7.461 MB / 493 MB, free: 2.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.98/9.15, allocations: 7.938 kB / 493 MB, free: 2.832 MB / 366.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1)