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.00113/0.00113, allocations: 87.11 kB / 16.31 MB, free: 6.449 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.001598/0.001598, allocations: 179 kB / 17.21 MB, free: 6.32 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.576/1.576, allocations: 205.4 MB / 223.4 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2898/0.2898, allocations: 38.05 MB / 309.7 MB, free: 8.895 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.0005264/0.0005264, allocations: 12 kB / 376.6 MB, free: 15.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1147, allocations: 56.33 MB / 433 MB, free: 6.594 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.005812/0.1206, allocations: 5.784 MB / 438.7 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002622/0.1232, allocations: 1.61 MB / 440.4 MB, free: 15.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002927/0.1235, allocations: 35.75 kB / 440.4 MB, free: 15.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003756/0.1239, allocations: 127.1 kB / 440.5 MB, free: 15.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008065/0.1247, allocations: 402 kB / 440.9 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.1251, allocations: 163.7 kB / 441.1 MB, free: 14.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007867/0.1259, allocations: 0.9035 MB / 442 MB, free: 13.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002506/0.1261, allocations: 142.5 kB / 442.1 MB, free: 13.4 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003489/0.1265, allocations: 282.6 kB / 442.4 MB, free: 13.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005412/0.127, allocations: 382.7 kB / 442.8 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.432e-05/0.1271, allocations: 20 kB / 442.8 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.384e-05/0.1272, allocations: 20 kB / 442.8 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.1273, allocations: 175.5 kB / 443 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.1275, allocations: 117.5 kB / 443.1 MB, free: 12.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003577/0.1278, allocations: 395 kB / 443.5 MB, free: 12.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1278, allocations: 0 / 443.5 MB, free: 12.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1278, allocations: 0 / 443.5 MB, free: 12.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.1279, allocations: 0 / 443.5 MB, free: 12.03 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.001168/0.129, allocations: 0.7305 MB / 444.2 MB, free: 11.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.1291, allocations: 8.031 kB / 444.2 MB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001141/0.1292, allocations: 86.52 kB / 444.3 MB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.955e-05/0.1293, allocations: 47.44 kB / 444.3 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007207/0.13, allocations: 451.3 kB / 444.8 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.1301, allocations: 29 kB / 444.8 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.033e-05/0.1301, allocations: 36 kB / 444.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007541/0.1309, allocations: 0.4961 MB / 445.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.1309, allocations: 0 / 445.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.906e-05/0.131, allocations: 16 kB / 445.4 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.602e-05/0.131, allocations: 24.92 kB / 445.4 MB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005778/0.1316, allocations: 363.7 kB / 445.7 MB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002315/0.1339, allocations: 2.087 MB / 447.8 MB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003902/0.1343, allocations: 245.8 kB / 448.1 MB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002106/0.1346, allocations: 134.1 kB / 448.2 MB, free: 7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.1346, allocations: 192 / 448.2 MB, free: 7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.1346, allocations: 38.75 kB / 448.2 MB, free: 6.953 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.253e-06/0.1346, allocations: 0 / 448.2 MB, free: 6.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.001156/0.1358, allocations: 0.7552 MB / 449 MB, free: 6.145 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/0.1359, allocations: 85.09 kB / 449.1 MB, free: 6.043 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003695/0.1363, allocations: 377.5 kB / 449.4 MB, free: 5.668 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.1363, allocations: 29.7 kB / 449.5 MB, free: 5.633 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000187/0.1365, allocations: 291.1 kB / 449.8 MB, free: 5.344 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.443e-05/0.1366, allocations: 86.75 kB / 449.8 MB, free: 5.258 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.394e-05/0.1366, allocations: 8 kB / 449.8 MB, free: 5.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.1368, allocations: 350.8 kB / 450.2 MB, free: 4.898 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.1369, allocations: 88.81 kB / 450.3 MB, free: 4.812 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.1372, allocations: 273.2 kB / 450.5 MB, free: 4.461 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.1374, allocations: 135.8 kB / 450.7 MB, free: 4.328 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.1374, allocations: 4 kB / 450.7 MB, free: 4.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00074/0.1381, allocations: 453.7 kB / 451.1 MB, free: 3.871 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.1382, allocations: 11.94 kB / 451.1 MB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.1382, allocations: 8 kB / 451.1 MB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00018/0.1384, allocations: 56.83 kB / 451.2 MB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.1386, allocations: 71.91 kB / 451.3 MB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/0.1399, allocations: 1.496 MB / 452.8 MB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.1401, allocations: 19.94 kB / 452.8 MB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/0.1401, allocations: 24 kB / 452.8 MB, free: 2.051 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 (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%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002277/0.1404, allocations: 201.7 kB / 453 MB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.325e-05/0.1405, allocations: 43.48 kB / 453 MB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003689/0.1408, allocations: 233.1 kB / 453.3 MB, free: 1.562 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.217e-06/0.1408, allocations: 4 kB / 453.3 MB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.1408, allocations: 0 / 453.3 MB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.1409, allocations: 4 kB / 453.3 MB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009298/0.1418, allocations: 0.6825 MB / 454 MB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1418, allocations: 8.031 kB / 454 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.1421, allocations: 51.91 kB / 454 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.1421, allocations: 0 / 454 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.1421, allocations: 8 kB / 454 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1421, allocations: 0 / 454 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.1421, allocations: 4.188 kB / 454 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005715/0.1427, allocations: 432.8 kB / 454.5 MB, free: 304 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.1429, allocations: 128.7 kB / 454.6 MB, free: 156 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.219e-05/0.1429, allocations: 4 kB / 454.6 MB, free: 152 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.1431, allocations: 7.984 kB / 454.6 MB, free: 144 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.1431, allocations: 15.98 kB / 454.6 MB, free: 128 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.1431, allocations: 4 kB / 454.6 MB, free: 124 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.2088/0.3519, allocations: 251.6 kB / 454.9 MB, free: 51.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.21e-07/0.3519, allocations: 0 / 454.9 MB, free: 51.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007155/0.3527, allocations: 92.08 kB / 454.9 MB, free: 51.23 MB / 382.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 (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.0006982/0.3534, allocations: 0.9696 MB / 455.9 MB, free: 50.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005783/0.354, allocations: 394.2 kB / 456.3 MB, free: 50.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.354, allocations: 5.062 kB / 456.3 MB, free: 50.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.3541, allocations: 87.5 kB / 456.4 MB, free: 50.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005445/0.3547, allocations: 87.66 kB / 456.5 MB, free: 50.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002679/0.3573, allocations: 2.464 MB / 458.9 MB, free: 49.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.3576, allocations: 0.8559 MB / 459.8 MB, free: 48.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002379/0.3579, allocations: 81.58 kB / 459.9 MB, free: 48.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/0.3581, allocations: 151.5 kB / 460 MB, free: 48.74 MB / 382.1 MB Notification: Performance of SimCode: time 1.633e-06/0.3581, allocations: 0 / 460 MB, free: 48.74 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01786/0.3759, allocations: 7.21 MB / 467.2 MB, free: 48.12 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001549/0.3761, allocations: 207.1 kB / 467.4 MB, free: 47.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.949/2.325, allocations: 0 / 467.4 MB, free: 47.89 MB / 382.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/linux/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) Environment - environmentSimulation: