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.0009945/0.0009946, allocations: 115.7 kB / 16.63 MB, free: 6.797 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.001067, allocations: 186 kB / 17.55 MB, free: 5.953 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.332/1.332, allocations: 222.9 MB / 241.2 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1768/0.1768, allocations: 38.03 MB / 329.4 MB, free: 8.996 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 57.59 kB / 398.4 MB, free: 34.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1142, allocations: 58.06 MB / 456.4 MB, free: 8.336 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.007463/0.1217, allocations: 6.552 MB / 463 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003028/0.1248, allocations: 1.613 MB / 464.6 MB, free: 132 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006813/0.1255, allocations: 39.75 kB / 464.6 MB, free: 92 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005989/0.1261, allocations: 115.3 kB / 464.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001253/0.1274, allocations: 346.6 kB / 465.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004064/0.1278, allocations: 115.9 kB / 465.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001053/0.1289, allocations: 0.7554 MB / 466 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000366/0.1293, allocations: 196.2 kB / 466.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008097/0.1301, allocations: 330.6 kB / 466.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000817/0.1309, allocations: 410.7 kB / 466.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.1311, allocations: 39.94 kB / 466.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.1312, allocations: 36 kB / 467 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002186/0.1314, allocations: 199.5 kB / 467.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002966/0.1317, allocations: 250.7 kB / 467.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005191/0.1323, allocations: 0.5217 MB / 467.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1323, allocations: 0 / 467.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1323, allocations: 0 / 467.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.725e-05/0.1323, allocations: 0 / 467.9 MB, free: 12.8 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.001396/0.1337, allocations: 0.8046 MB / 468.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.1338, allocations: 15.88 kB / 468.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001006/0.1339, allocations: 78.72 kB / 468.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.52e-05/0.134, allocations: 52.28 kB / 468.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006928/0.1347, allocations: 464.2 kB / 469.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.1347, allocations: 29 kB / 469.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.018e-05/0.1348, allocations: 43.91 kB / 469.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007233/0.1355, allocations: 0.4883 MB / 469.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.1355, allocations: 4 kB / 469.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.882e-05/0.1356, allocations: 16 kB / 469.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.823e-05/0.1356, allocations: 24.98 kB / 469.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000597/0.1362, allocations: 363.7 kB / 470.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002911/0.1392, allocations: 2.087 MB / 472.4 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004651/0.1396, allocations: 237 kB / 472.6 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002624/0.1399, allocations: 135.3 kB / 472.7 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.14, allocations: 8 kB / 472.7 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.14, allocations: 34.56 kB / 472.8 MB, free: 7.645 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 2.665e-06/0.14, allocations: 0 / 472.8 MB, free: 7.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001364/0.1414, allocations: 0.7599 MB / 473.5 MB, free: 6.832 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.1414, allocations: 84.98 kB / 473.6 MB, free: 6.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004017/0.1418, allocations: 385.6 kB / 474 MB, free: 6.344 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.1419, allocations: 29.7 kB / 474 MB, free: 6.309 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.1421, allocations: 294.9 kB / 474.3 MB, free: 6.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.423e-05/0.1422, allocations: 82.84 kB / 474.4 MB, free: 5.934 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.1423, allocations: 78.03 kB / 474.5 MB, free: 5.852 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1424, allocations: 350.8 kB / 474.8 MB, free: 5.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.1426, allocations: 84.83 kB / 474.9 MB, free: 5.418 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.1428, allocations: 285.2 kB / 475.2 MB, free: 5.047 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000454/0.1433, allocations: 407.2 kB / 475.6 MB, free: 4.562 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.1433, allocations: 4 kB / 475.6 MB, free: 4.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007546/0.1441, allocations: 449.6 kB / 476 MB, free: 4.109 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.1441, allocations: 8 kB / 476 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.1441, allocations: 4 kB / 476 MB, free: 4.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002299/0.1444, allocations: 60.81 kB / 476.1 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.1446, allocations: 84.17 kB / 476.2 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/0.1461, allocations: 1.61 MB / 477.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.1463, allocations: 15.98 kB / 477.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.1464, allocations: 24 kB / 477.8 MB, free: 2.164 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.0002156/0.1466, allocations: 197.6 kB / 478 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.01e-05/0.1467, allocations: 47.45 kB / 478 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003456/0.147, allocations: 239.6 kB / 478.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.147, allocations: 4.188 kB / 478.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.1471, allocations: 4 kB / 478.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.1471, allocations: 3.984 kB / 478.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008147/0.1479, allocations: 0.6857 MB / 479 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1479, allocations: 0 / 479 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002328/0.1481, allocations: 51.91 kB / 479 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.1482, allocations: 0 / 479 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.1482, allocations: 12.03 kB / 479 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1482, allocations: 0 / 479 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1482, allocations: 0 / 479 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004824/0.1487, allocations: 433.4 kB / 479.5 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.1488, allocations: 124.6 kB / 479.6 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.237e-05/0.1488, allocations: 8 kB / 479.6 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.149, allocations: 12 kB / 479.6 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.1491, allocations: 11.98 kB / 479.6 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.1491, allocations: 4 kB / 479.6 MB, free: 244 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002566/0.1493, allocations: 263.1 kB / 479.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1493, allocations: 0 / 479.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004193/0.1498, allocations: 88 kB / 480 MB, free: 15.89 MB / 366.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.0007396/0.1505, allocations: 0.9668 MB / 480.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007113/0.1512, allocations: 418.9 kB / 481.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1513, allocations: 3.938 kB / 481.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.1514, allocations: 99.83 kB / 481.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005766/0.152, allocations: 100 kB / 481.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004589/0.1566, allocations: 3.884 MB / 485.4 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000476/0.1571, allocations: 0.8545 MB / 486.3 MB, free: 9.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002934/0.1574, allocations: 92.12 kB / 486.4 MB, free: 9.156 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002105/0.1576, allocations: 151.4 kB / 486.5 MB, free: 9.008 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1576, allocations: 0 / 486.5 MB, free: 9.008 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02335/0.181, allocations: 7.378 MB / 493.9 MB, free: 1.809 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003333/0.1813, allocations: 223.7 kB / 494.1 MB, free: 1.555 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.996/2.177, allocations: 3.938 kB / 494.1 MB, free: 1.551 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)