Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.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.AC3ph.Generation.PQsource,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_PQsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PQsource,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_PQsource",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.001591/0.001595, allocations: 183.1 kB / 15.77 MB, free: 6.375 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.984/1.984, 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.001122/0.001122, allocations: 90.84 kB / 270.2 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2651/0.2651, allocations: 38.06 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004423/0.0004423, allocations: 12 kB / 422.8 MB, free: 26.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1084, allocations: 56.34 MB / 479.1 MB, free: 1.926 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.007357/0.1158, allocations: 4.432 MB / 483.6 MB, free: 13.47 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003531/0.1194, allocations: 1.443 MB / 485 MB, free: 12.02 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003453/0.1198, allocations: 27.81 kB / 485 MB, free: 11.99 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004038/0.1202, allocations: 95.39 kB / 485.1 MB, free: 11.9 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007777/0.121, allocations: 211.4 kB / 485.3 MB, free: 11.69 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006749/0.1217, allocations: 167.6 kB / 485.5 MB, free: 11.53 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000537/0.1223, allocations: 291.4 kB / 485.8 MB, free: 11.24 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001177/0.1235, allocations: 0.5036 MB / 486.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004537/0.1239, allocations: 195.2 kB / 486.5 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004881/0.1244, allocations: 179.4 kB / 486.7 MB, free: 10.35 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.557e-05/0.1245, allocations: 16 kB / 486.7 MB, free: 10.33 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002933/0.1248, allocations: 79.88 kB / 486.8 MB, free: 10.25 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002777/0.1251, allocations: 159.6 kB / 486.9 MB, free: 10.1 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.1253, allocations: 113.4 kB / 487 MB, free: 9.98 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006248/0.1259, allocations: 383.1 kB / 487.4 MB, free: 9.605 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1259, allocations: 4 kB / 487.4 MB, free: 9.602 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1259, allocations: 0 / 487.4 MB, free: 9.602 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.126, allocations: 0 / 487.4 MB, free: 9.602 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001437/0.1274, allocations: 0.6366 MB / 488 MB, free: 8.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.1275, allocations: 8.031 kB / 488 MB, free: 8.902 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001217/0.1276, allocations: 74.53 kB / 488.1 MB, free: 8.82 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008899/0.1285, allocations: 91.42 kB / 488.2 MB, free: 8.73 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009987/0.1295, allocations: 390 kB / 488.6 MB, free: 8.309 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.703e-05/0.1296, allocations: 28.98 kB / 488.6 MB, free: 8.281 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001874/0.1298, allocations: 40 kB / 488.7 MB, free: 8.242 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.1309, allocations: 476.8 kB / 489.1 MB, free: 7.746 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.8e-05/0.1309, allocations: 8 kB / 489.1 MB, free: 7.738 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.243e-05/0.131, allocations: 12 kB / 489.1 MB, free: 7.727 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001672/0.1312, allocations: 28.94 kB / 489.2 MB, free: 7.699 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009191/0.1321, allocations: 343.7 kB / 489.5 MB, free: 7.363 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003453/0.1356, allocations: 1.729 MB / 491.2 MB, free: 5.512 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004287/0.136, allocations: 153.1 kB / 491.4 MB, free: 5.344 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.1361, allocations: 8 kB / 491.4 MB, free: 5.336 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.1361, allocations: 34.56 kB / 491.4 MB, free: 5.293 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 2.905e-06/0.1361, allocations: 0 / 491.4 MB, free: 5.293 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.002279/0.1384, allocations: 0.8776 MB / 492.3 MB, free: 4.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.008e-05/0.1385, allocations: 85.09 kB / 492.4 MB, free: 4.238 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004866/0.139, allocations: 304.5 kB / 492.7 MB, free: 3.934 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.1391, allocations: 25.7 kB / 492.7 MB, free: 3.902 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/0.1393, allocations: 313.8 kB / 493 MB, free: 3.594 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.449e-05/0.1394, allocations: 63.31 kB / 493.1 MB, free: 3.531 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.1394, allocations: 8 kB / 493.1 MB, free: 3.523 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1396, allocations: 326.8 kB / 493.4 MB, free: 3.195 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/0.1399, allocations: 96.22 kB / 493.5 MB, free: 3.102 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003556/0.1403, allocations: 205.2 kB / 493.7 MB, free: 2.855 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003451/0.1406, allocations: 136.6 kB / 493.8 MB, free: 2.723 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.1406, allocations: 0 / 493.8 MB, free: 2.723 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00148/0.1421, allocations: 460.1 kB / 494.3 MB, free: 2.266 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.1422, allocations: 8 kB / 494.3 MB, free: 2.258 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001004/0.1432, allocations: 308.4 kB / 494.6 MB, free: 1.953 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007966/0.144, allocations: 132.9 kB / 494.7 MB, free: 1.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003582/0.1444, allocations: 55.91 kB / 494.8 MB, free: 1.766 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004346/0.1487, allocations: 2.356 MB / 497.1 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003303/0.1491, allocations: 8.25 kB / 497.1 MB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.604e-05/0.1491, allocations: 20 kB / 497.2 MB, free: 15.22 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * 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 initialization (29): * Single equations (assignments): 28 * 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: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003198/0.1495, allocations: 189.7 kB / 497.3 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.467e-05/0.1495, allocations: 31.62 kB / 497.4 MB, free: 14.99 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007013/0.1503, allocations: 261.5 kB / 497.6 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.1503, allocations: 3.953 kB / 497.6 MB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1503, allocations: 3.938 kB / 497.6 MB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.1503, allocations: 7.984 kB / 497.6 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001784/0.1521, allocations: 0.7429 MB / 498.4 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.1521, allocations: 4 kB / 498.4 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003896/0.1525, allocations: 31.98 kB / 498.4 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001796/0.1527, allocations: 44.75 kB / 498.5 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.081e-05/0.1528, allocations: 12.05 kB / 498.5 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.1528, allocations: 3.938 kB / 498.5 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1528, allocations: 4.156 kB / 498.5 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009368/0.1538, allocations: 479.6 kB / 499 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.1539, allocations: 104.8 kB / 499.1 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.032e-05/0.154, allocations: 3.953 kB / 499.1 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/0.1542, allocations: 11.98 kB / 499.1 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/0.1543, allocations: 11.98 kB / 499.1 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/0.1543, allocations: 8 kB / 499.1 MB, free: 13.13 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000337/0.1547, allocations: 219 kB / 499.3 MB, free: 12.92 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1547, allocations: 4 kB / 499.3 MB, free: 12.91 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006923/0.1554, allocations: 84 kB / 499.4 MB, free: 12.83 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001338/0.1567, allocations: 1.216 MB / 0.4889 GB, free: 11.57 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001141/0.1579, allocations: 409.3 kB / 0.4893 GB, free: 11.16 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.1579, allocations: 0 / 0.4893 GB, free: 11.16 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003431/0.1583, allocations: 177.4 kB / 0.4894 GB, free: 10.96 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005628/0.1588, allocations: 61.75 kB / 0.4895 GB, free: 10.91 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006388/0.1652, allocations: 4.54 MB / 0.4939 GB, free: 6.23 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006311/0.1659, allocations: 0.8497 MB / 0.4948 GB, free: 5.355 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002695/0.1662, allocations: 123.4 kB / 0.4949 GB, free: 5.234 MB / 346.7 MB Notification: Performance of SimCode: time 1.362e-06/0.1662, allocations: 3.938 kB / 0.4949 GB, free: 5.23 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.735/2.901, allocations: 7.427 MB / 0.5021 GB, free: 13.8 MB / 362.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_PQsource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_PQsource.fmu > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1)