Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002212/0.002212, allocations: 183.3 kB / 15.77 MB, free: 6.379 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.982/1.982, allocations: 205.4 MB / 221.9 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001116/0.001116, allocations: 86.88 kB / 270.2 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.265/0.265, allocations: 38.05 MB / 356.6 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004653/0.0004654, allocations: 12 kB / 422.8 MB, free: 26.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1071, allocations: 56.33 MB / 479.1 MB, free: 1.934 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.009369/0.1165, allocations: 5.558 MB / 484.7 MB, free: 12.35 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004076/0.1206, allocations: 1.607 MB / 486.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006189/0.1213, allocations: 35.75 kB / 486.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005005/0.1218, allocations: 119.2 kB / 486.5 MB, free: 10.58 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001402/0.1232, allocations: 331 kB / 486.8 MB, free: 10.26 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006811/0.1239, allocations: 163.7 kB / 486.9 MB, free: 10.1 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000803/0.1248, allocations: 391.1 kB / 487.3 MB, free: 9.715 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000375/0.1252, allocations: 154.4 kB / 487.5 MB, free: 9.559 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005782/0.1257, allocations: 239.1 kB / 487.7 MB, free: 9.324 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006375/0.1264, allocations: 263.1 kB / 488 MB, free: 9.066 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.588e-05/0.1265, allocations: 20 kB / 488 MB, free: 9.047 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.1266, allocations: 20 kB / 488 MB, free: 9.027 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002408/0.1269, allocations: 159.6 kB / 488.2 MB, free: 8.871 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.127, allocations: 117.4 kB / 488.3 MB, free: 8.75 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005858/0.1276, allocations: 391 kB / 488.7 MB, free: 8.367 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1276, allocations: 0 / 488.7 MB, free: 8.367 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1277, allocations: 0 / 488.7 MB, free: 8.367 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1277, allocations: 0 / 488.7 MB, free: 8.367 MB / 330.7 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.001852/0.1295, allocations: 0.7307 MB / 489.4 MB, free: 7.59 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.1296, allocations: 8.031 kB / 489.4 MB, free: 7.582 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001398/0.1298, allocations: 74.53 kB / 489.5 MB, free: 7.5 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.1299, allocations: 55.34 kB / 489.5 MB, free: 7.445 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.131, allocations: 459.2 kB / 490 MB, free: 6.957 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.132e-05/0.1311, allocations: 29 kB / 490 MB, free: 6.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.1312, allocations: 36 kB / 490 MB, free: 6.895 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.1324, allocations: 0.4961 MB / 490.5 MB, free: 6.359 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.1324, allocations: 3.938 kB / 490.5 MB, free: 6.355 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-05/0.1325, allocations: 23.89 kB / 490.6 MB, free: 6.332 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.409e-05/0.1326, allocations: 20.98 kB / 490.6 MB, free: 6.312 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009736/0.1336, allocations: 359.7 kB / 490.9 MB, free: 5.961 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003942/0.1375, allocations: 2.083 MB / 493 MB, free: 3.734 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006812/0.1383, allocations: 245.8 kB / 493.2 MB, free: 3.477 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/0.1383, allocations: 4.172 kB / 493.3 MB, free: 3.473 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.1384, allocations: 42.81 kB / 493.3 MB, free: 3.422 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 3.757e-06/0.1384, allocations: 0 / 493.3 MB, free: 3.422 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.002348/0.1407, allocations: 0.9424 MB / 494.2 MB, free: 2.387 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.438e-05/0.1409, allocations: 85.23 kB / 494.3 MB, free: 2.285 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000648/0.1415, allocations: 381.5 kB / 494.7 MB, free: 1.902 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/0.1416, allocations: 29.7 kB / 494.7 MB, free: 1.867 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003032/0.1419, allocations: 337.4 kB / 495.1 MB, free: 1.535 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.996e-05/0.142, allocations: 86.83 kB / 495.1 MB, free: 1.449 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-05/0.142, allocations: 4 kB / 495.1 MB, free: 1.445 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1422, allocations: 326.8 kB / 495.5 MB, free: 1.117 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000246/0.1425, allocations: 92.81 kB / 495.5 MB, free: 1.027 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003935/0.1429, allocations: 277.2 kB / 495.8 MB, free: 0.668 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003517/0.1432, allocations: 143.6 kB / 496 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.1433, allocations: 0 / 496 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001122/0.1444, allocations: 434.3 kB / 496.4 MB, free: 96 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/0.1444, allocations: 12.06 kB / 496.4 MB, free: 84 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.1445, allocations: 12 kB / 496.4 MB, free: 72 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003206/0.1448, allocations: 64.81 kB / 496.5 MB, free: 4 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005399/0.1454, allocations: 79.95 kB / 496.5 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00229/0.1477, allocations: 1.617 MB / 498.2 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004/0.1481, allocations: 16 kB / 498.2 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-05/0.1482, allocations: 24 kB / 498.2 MB, free: 14.14 MB / 346.7 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 (45): * Single equations (assignments): 44 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003425/0.1485, allocations: 202 kB / 498.4 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-05/0.1486, allocations: 43.59 kB / 498.4 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007345/0.1494, allocations: 339 kB / 498.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.1494, allocations: 4 kB / 498.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1494, allocations: 0 / 498.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1494, allocations: 0 / 498.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.1509, allocations: 0.7899 MB / 499.6 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.1509, allocations: 4 kB / 499.6 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004089/0.1513, allocations: 43.91 kB / 499.6 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001037/0.1515, allocations: 20.86 kB / 499.6 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.573e-05/0.1515, allocations: 7.984 kB / 499.6 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001331/0.1528, allocations: 1.381 MB / 0.4893 GB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1529, allocations: 0 / 0.4893 GB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.1539, allocations: 0.5497 MB / 0.4898 GB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001982/0.1542, allocations: 132.5 kB / 0.4899 GB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.003e-05/0.1542, allocations: 4 kB / 0.4899 GB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/0.1545, allocations: 7.984 kB / 0.49 GB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.304e-05/0.1546, allocations: 24 kB / 0.49 GB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.149e-05/0.1546, allocations: 4 kB / 0.49 GB, free: 10.26 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004083/0.155, allocations: 255.1 kB / 0.4902 GB, free: 10.02 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.155, allocations: 0 / 0.4902 GB, free: 10.02 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007199/0.1558, allocations: 92 kB / 0.4903 GB, free: 9.926 MB / 346.7 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 (23): * Single equations (assignments): 21 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001469/0.1572, allocations: 1.235 MB / 0.4915 GB, free: 8.629 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.1583, allocations: 386.8 kB / 0.4919 GB, free: 8.238 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1583, allocations: 0 / 0.4919 GB, free: 8.238 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003757/0.1587, allocations: 215.7 kB / 0.4921 GB, free: 8.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000782/0.1595, allocations: 89.52 kB / 0.4922 GB, free: 7.93 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007279/0.1668, allocations: 6.729 MB / 0.4988 GB, free: 1.008 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006292/0.1675, allocations: 0.874 MB / 0.4996 GB, free: 112 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003389/0.1678, allocations: 159.5 kB / 0.4998 GB, free: 15.95 MB / 362.7 MB Notification: Performance of SimCode: time 1.352e-06/0.1679, allocations: 0 / 0.4998 GB, free: 15.95 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.705/2.873, allocations: 8.778 MB / 0.5083 GB, free: 7.168 MB / 362.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase.fmu > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1)