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.001558/0.001558, allocations: 113.2 kB / 17.06 MB, free: 6 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.001804/0.001804, allocations: 198.9 kB / 18 MB, free: 5.078 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.294/1.294, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.99 MB / 309.2 MB, free: 5.941 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.001332/0.001332, allocations: 63.89 kB / 431.4 MB, free: 16.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1163, allocations: 55.24 MB / 486.6 MB, free: 8.84 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.007308/0.1237, allocations: 5.496 MB / 492.1 MB, free: 3.312 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002347/0.1261, allocations: 1.349 MB / 493.4 MB, free: 1.957 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000347/0.1264, allocations: 19.81 kB / 493.5 MB, free: 1.938 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004696/0.127, allocations: 131 kB / 493.6 MB, free: 1.809 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009137/0.1279, allocations: 378.2 kB / 494 MB, free: 1.438 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.1282, allocations: 135.8 kB / 494.1 MB, free: 1.305 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009143/0.1291, allocations: 0.7437 MB / 494.8 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003055/0.1295, allocations: 200.2 kB / 495 MB, free: 368 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005606/0.13, allocations: 342.5 kB / 495.4 MB, free: 24 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000652/0.1307, allocations: 386.7 kB / 495.7 MB, free: 15.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.218e-05/0.1308, allocations: 36 kB / 495.8 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.1309, allocations: 36 kB / 495.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001806/0.1311, allocations: 191.5 kB / 496 MB, free: 15.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002861/0.1314, allocations: 250.7 kB / 496.2 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005337/0.1319, allocations: 0.5294 MB / 496.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1319, allocations: 3.938 kB / 496.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1319, allocations: 0 / 496.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.132, 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.001299/0.1333, allocations: 0.7931 MB / 497.6 MB, free: 13.76 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.1333, allocations: 15.89 kB / 497.6 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.472e-05/0.1334, allocations: 86.64 kB / 497.7 MB, free: 13.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.373e-05/0.1335, allocations: 52.28 kB / 497.7 MB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007461/0.1343, allocations: 492.2 kB / 498.2 MB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.361e-05/0.1343, allocations: 29 kB / 498.2 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.088e-05/0.1344, allocations: 39.98 kB / 498.3 MB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006788/0.1351, allocations: 0.5 MB / 498.8 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.1351, allocations: 3.938 kB / 498.8 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.507e-05/0.1351, allocations: 16 kB / 498.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.141e-05/0.1352, allocations: 17 kB / 498.8 MB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005361/0.1357, allocations: 371.6 kB / 499.2 MB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002365/0.1381, allocations: 2.075 MB / 0.4895 GB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003948/0.1385, allocations: 249.2 kB / 0.4897 GB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002213/0.1387, allocations: 125.7 kB / 0.4899 GB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.1387, allocations: 4 kB / 0.4899 GB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.1388, allocations: 42.5 kB / 0.4899 GB, free: 9.418 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.542e-06/0.1388, allocations: 0 / 0.4899 GB, free: 9.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.001147/0.1399, allocations: 0.7464 MB / 0.4906 GB, free: 8.617 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.14, allocations: 89.03 kB / 0.4907 GB, free: 8.512 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003566/0.1404, allocations: 377.5 kB / 0.4911 GB, free: 8.133 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.1404, allocations: 29.7 kB / 0.4911 GB, free: 8.098 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.1406, allocations: 287.2 kB / 0.4914 GB, free: 7.812 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.86e-05/0.1406, allocations: 86.83 kB / 0.4915 GB, free: 7.727 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.942e-05/0.1407, allocations: 82.03 kB / 0.4915 GB, free: 7.637 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1409, allocations: 346.8 kB / 0.4919 GB, free: 7.289 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.141, allocations: 92.77 kB / 0.492 GB, free: 7.199 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/0.1413, allocations: 277.2 kB / 0.4922 GB, free: 6.844 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004399/0.1417, allocations: 404.3 kB / 0.4926 GB, free: 6.359 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1417, allocations: 3.938 kB / 0.4926 GB, free: 6.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006949/0.1424, allocations: 465.6 kB / 0.4931 GB, free: 5.891 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.1425, allocations: 8 kB / 0.4931 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.1425, allocations: 4 kB / 0.4931 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000193/0.1427, allocations: 52.83 kB / 0.4931 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.1429, allocations: 83.83 kB / 0.4932 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/0.1443, allocations: 1.622 MB / 0.4948 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.1445, allocations: 15.98 kB / 0.4948 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.1446, allocations: 20 kB / 0.4948 GB, free: 3.945 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.0002087/0.1448, allocations: 205.7 kB / 0.495 GB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.231e-05/0.1448, allocations: 43.45 kB / 0.4951 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004091/0.1453, allocations: 237 kB / 0.4953 GB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1453, allocations: 7.938 kB / 0.4953 GB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.1453, allocations: 0 / 0.4953 GB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1453, allocations: 0 / 0.4953 GB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008734/0.1462, allocations: 0.6955 MB / 0.496 GB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1462, allocations: 0 / 0.496 GB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/0.1464, allocations: 47.92 kB / 0.496 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.1464, allocations: 4 kB / 0.496 GB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/0.1464, allocations: 7.984 kB / 0.496 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.1464, allocations: 4.188 kB / 0.496 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.1465, allocations: 4 kB / 0.496 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004692/0.1469, allocations: 434 kB / 0.4964 GB, free: 2.168 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.1471, allocations: 116.6 kB / 0.4966 GB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.054e-05/0.1471, allocations: 8 kB / 0.4966 GB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.1473, allocations: 11.98 kB / 0.4966 GB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/0.1473, allocations: 7.984 kB / 0.4966 GB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.1473, allocations: 12.06 kB / 0.4966 GB, free: 1.996 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002481/0.1476, allocations: 259.1 kB / 0.4968 GB, free: 1.746 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1476, allocations: 0 / 0.4968 GB, free: 1.746 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004221/0.148, allocations: 95.94 kB / 0.4969 GB, free: 1.652 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.0007423/0.1488, allocations: 0.9607 MB / 0.4979 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006105/0.1494, allocations: 391.9 kB / 0.4982 GB, free: 264 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.1494, allocations: 8.062 kB / 0.4983 GB, free: 256 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.1495, allocations: 91.84 kB / 0.4983 GB, free: 164 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005525/0.1501, allocations: 101.2 kB / 0.4984 GB, free: 64 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004057/0.1542, allocations: 3.698 MB / 0.502 GB, free: 12.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.1546, allocations: 0.8623 MB / 0.5029 GB, free: 11.2 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002141/0.1548, allocations: 76.14 kB / 0.503 GB, free: 11.12 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.155, allocations: 155.4 kB / 0.5031 GB, free: 10.97 MB / 398.1 MB Notification: Performance of SimCode: time 1.203e-06/0.155, allocations: 0 / 0.5031 GB, free: 10.97 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02818/0.1832, allocations: 7.729 MB / 0.5107 GB, free: 3.188 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.16/10.34, allocations: 19.89 kB / 0.5107 GB, free: 3.168 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)