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 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.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.001037/0.001037, allocations: 114 kB / 17.06 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.001074/0.001074, allocations: 198.9 kB / 18 MB, free: 5.07 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.317/1.317, allocations: 205.1 MB / 223.9 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1761/0.1761, allocations: 37.98 MB / 309.2 MB, free: 5.957 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.001606/0.001606, allocations: 72.41 kB / 431.4 MB, free: 16.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09664/0.09826, allocations: 55.24 MB / 486.6 MB, free: 8.852 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.007352/0.1057, allocations: 5.496 MB / 492.1 MB, free: 3.324 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002442/0.1081, allocations: 1.356 MB / 493.5 MB, free: 1.961 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003898/0.1085, allocations: 15.88 kB / 493.5 MB, free: 1.945 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000498/0.1091, allocations: 127.1 kB / 493.6 MB, free: 1.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001093/0.1102, allocations: 374.3 kB / 494 MB, free: 1.453 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.1106, allocations: 139.8 kB / 494.1 MB, free: 1.316 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009311/0.1115, allocations: 0.7476 MB / 494.8 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003112/0.1118, allocations: 200.1 kB / 495 MB, free: 376 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006267/0.1125, allocations: 338.5 kB / 495.4 MB, free: 36 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009138/0.1134, allocations: 386.8 kB / 495.7 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.1135, allocations: 36 kB / 495.8 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001734/0.1137, allocations: 39.94 kB / 495.8 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002573/0.114, allocations: 191.5 kB / 496 MB, free: 15.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004603/0.1145, allocations: 246.8 kB / 496.2 MB, free: 15.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007752/0.1152, allocations: 0.5331 MB / 496.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.1153, allocations: 3.938 kB / 496.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1153, allocations: 0 / 496.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.956e-05/0.1153, allocations: 0 / 496.8 MB, free: 14.61 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001859/0.1172, allocations: 0.7931 MB / 497.6 MB, free: 13.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.1172, allocations: 15.89 kB / 497.6 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001222/0.1174, allocations: 74.72 kB / 497.7 MB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.1175, allocations: 56.28 kB / 497.7 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009769/0.1185, allocations: 496.1 kB / 498.2 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.237e-05/0.1185, allocations: 32.98 kB / 498.2 MB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.227e-05/0.1186, allocations: 36 kB / 498.3 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007891/0.1194, allocations: 0.4961 MB / 498.8 MB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.1194, allocations: 3.938 kB / 498.8 MB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.313e-05/0.1195, allocations: 16 kB / 498.8 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.475e-05/0.1195, allocations: 20.98 kB / 498.8 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005727/0.1201, allocations: 371.7 kB / 499.2 MB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00275/0.1228, allocations: 2.079 MB / 0.4895 GB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004167/0.1233, allocations: 245.2 kB / 0.4897 GB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002298/0.1235, allocations: 125.7 kB / 0.4899 GB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.1236, allocations: 4 kB / 0.4899 GB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.1236, allocations: 38.56 kB / 0.4899 GB, free: 9.434 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.683e-06/0.1236, allocations: 0 / 0.4899 GB, free: 9.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.001253/0.1249, allocations: 0.7542 MB / 0.4906 GB, free: 8.625 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/0.1249, allocations: 92.98 kB / 0.4907 GB, free: 8.516 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003686/0.1253, allocations: 377.5 kB / 0.4911 GB, free: 8.137 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.1253, allocations: 33.83 kB / 0.4911 GB, free: 8.098 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000212/0.1256, allocations: 287.1 kB / 0.4914 GB, free: 7.812 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.887e-05/0.1256, allocations: 82.84 kB / 0.4915 GB, free: 7.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.1258, allocations: 82.05 kB / 0.4915 GB, free: 7.641 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1259, allocations: 346.8 kB / 0.4919 GB, free: 7.293 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.126, allocations: 88.81 kB / 0.492 GB, free: 7.207 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/0.1263, allocations: 277.2 kB / 0.4922 GB, free: 6.852 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004783/0.1268, allocations: 404.3 kB / 0.4926 GB, free: 6.367 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.1268, allocations: 0 / 0.4926 GB, free: 6.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007778/0.1276, allocations: 469.4 kB / 0.4931 GB, free: 5.898 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.1276, allocations: 8 kB / 0.4931 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.1276, allocations: 4 kB / 0.4931 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001911/0.1278, allocations: 56.83 kB / 0.4931 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.1281, allocations: 83.84 kB / 0.4932 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00134/0.1294, allocations: 1.618 MB / 0.4948 GB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.1297, allocations: 12 kB / 0.4948 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.1297, allocations: 20 kB / 0.4948 GB, free: 3.957 MB / 382.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.0001984/0.1299, allocations: 209.7 kB / 0.495 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.952e-05/0.13, allocations: 39.47 kB / 0.4951 GB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003406/0.1303, allocations: 241 kB / 0.4953 GB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1303, allocations: 7.938 kB / 0.4953 GB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.1303, allocations: 0 / 0.4953 GB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1303, allocations: 0 / 0.4953 GB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008911/0.1312, allocations: 0.6994 MB / 0.496 GB, free: 2.688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1312, allocations: 0 / 0.496 GB, free: 2.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002174/0.1315, allocations: 48.09 kB / 0.496 GB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.1315, allocations: 4 kB / 0.496 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.1315, allocations: 8 kB / 0.496 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.1315, allocations: 4 kB / 0.496 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1315, allocations: 0 / 0.496 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004728/0.132, allocations: 438 kB / 0.4965 GB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.1321, allocations: 120.6 kB / 0.4966 GB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.595e-05/0.1322, allocations: 4 kB / 0.4966 GB, free: 2.031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.1323, allocations: 8 kB / 0.4966 GB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.1324, allocations: 16.03 kB / 0.4966 GB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.1324, allocations: 12 kB / 0.4966 GB, free: 1.996 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002625/0.1327, allocations: 251.2 kB / 0.4968 GB, free: 1.754 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1327, allocations: 0 / 0.4968 GB, free: 1.754 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004358/0.1331, allocations: 95.94 kB / 0.4969 GB, free: 1.66 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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.0008102/0.1339, allocations: 0.9685 MB / 0.4979 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006666/0.1346, allocations: 387.8 kB / 0.4983 GB, free: 268 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1346, allocations: 0 / 0.4983 GB, free: 268 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.1348, allocations: 99.83 kB / 0.4983 GB, free: 168 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006051/0.1354, allocations: 97.73 kB / 0.4984 GB, free: 72 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004731/0.1401, allocations: 3.698 MB / 0.5021 GB, free: 12.1 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005809/0.1407, allocations: 0.8584 MB / 0.5029 GB, free: 11.21 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002429/0.141, allocations: 80.12 kB / 0.503 GB, free: 11.13 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001959/0.1412, allocations: 147.4 kB / 0.5031 GB, free: 10.99 MB / 398.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1412, allocations: 0 / 0.5031 GB, free: 10.99 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03076/0.172, allocations: 7.729 MB / 0.5107 GB, free: 3.203 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.05/10.22, allocations: 15.83 kB / 0.5107 GB, free: 3.188 MB / 398.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)