Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.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: translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00145/0.001451, allocations: 177.5 kB / 15.78 MB, free: 6.352 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.588/1.588, allocations: 205.4 MB / 221.9 MB, free: 13.74 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.0008564/0.0008565, allocations: 98.23 kB / 270.3 MB, free: 13.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1931/0.1931, allocations: 38.06 MB / 356.6 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003795/0.0003795, allocations: 8 kB / 422.7 MB, free: 26.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09834/0.09873, allocations: 56.34 MB / 479.1 MB, free: 2.027 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.006782/0.1056, allocations: 6.301 MB / 485.4 MB, free: 11.7 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002778/0.1084, allocations: 1.634 MB / 487 MB, free: 10.05 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003557/0.1088, allocations: 39.75 kB / 487 MB, free: 10.02 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004419/0.1092, allocations: 131 kB / 487.2 MB, free: 9.887 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008211/0.11, allocations: 445.8 kB / 487.6 MB, free: 9.449 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004688/0.1105, allocations: 183.8 kB / 487.8 MB, free: 9.27 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00117/0.1117, allocations: 1.285 MB / 489.1 MB, free: 7.98 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003609/0.1121, allocations: 247.6 kB / 489.3 MB, free: 7.738 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004879/0.1126, allocations: 374.4 kB / 489.7 MB, free: 7.371 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006511/0.1132, allocations: 0.5024 MB / 490.2 MB, free: 6.867 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.01e-05/0.1133, allocations: 32 kB / 490.2 MB, free: 6.836 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.1134, allocations: 36 kB / 490.2 MB, free: 6.801 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002361/0.1137, allocations: 275.2 kB / 490.5 MB, free: 6.531 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.1138, allocations: 145.4 kB / 490.7 MB, free: 6.383 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005336/0.1144, allocations: 0.639 MB / 491.3 MB, free: 5.742 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1144, allocations: 0 / 491.3 MB, free: 5.742 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1144, allocations: 0 / 491.3 MB, free: 5.742 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.1144, allocations: 0 / 491.3 MB, free: 5.742 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001721/0.1161, allocations: 0.9138 MB / 492.2 MB, free: 4.777 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.1162, allocations: 8.031 kB / 492.2 MB, free: 4.77 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/0.1163, allocations: 71.2 kB / 492.3 MB, free: 4.699 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008508/0.1172, allocations: 0.5368 MB / 492.8 MB, free: 4.121 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/0.1173, allocations: 116.7 kB / 492.9 MB, free: 3.992 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.532e-05/0.1174, allocations: 56 kB / 493 MB, free: 3.938 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.1188, allocations: 0.7928 MB / 493.8 MB, free: 3.109 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.1188, allocations: 3.938 kB / 493.8 MB, free: 3.105 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.166e-05/0.1189, allocations: 20 kB / 493.8 MB, free: 3.086 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001261/0.119, allocations: 40.92 kB / 493.8 MB, free: 3.047 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/0.1204, allocations: 0.7533 MB / 494.6 MB, free: 2.293 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003623/0.1241, allocations: 2.632 MB / 497.2 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/0.1256, allocations: 0.8439 MB / 498.1 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006401/0.1263, allocations: 411.4 kB / 498.5 MB, free: 14.28 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/0.1263, allocations: 4.438 kB / 498.5 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.1264, allocations: 39 kB / 498.5 MB, free: 14.22 MB / 346.7 MB Notification: Performance of pre-optimization done (n=50): time 2.956e-06/0.1264, allocations: 0 / 498.5 MB, free: 14.22 MB / 346.7 MB Notification: Performance of matching and sorting (n=51): time 0.003917/0.1303, allocations: 2.217 MB / 0.489 GB, free: 11.89 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.1304, allocations: 85.55 kB / 0.4891 GB, free: 11.79 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000418/0.1308, allocations: 397.9 kB / 0.4895 GB, free: 11.4 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.614e-05/0.1308, allocations: 37.7 kB / 0.4895 GB, free: 11.36 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.131, allocations: 288.4 kB / 0.4898 GB, free: 11.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.1312, allocations: 181.4 kB / 0.4899 GB, free: 10.89 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.1312, allocations: 8 kB / 0.49 GB, free: 10.88 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1313, allocations: 366.7 kB / 0.4903 GB, free: 10.51 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000519/0.1319, allocations: 284.9 kB / 0.4906 GB, free: 10.23 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005756/0.1324, allocations: 397.1 kB / 0.491 GB, free: 9.805 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000567/0.133, allocations: 326 kB / 0.4913 GB, free: 9.488 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.133, allocations: 0 / 0.4913 GB, free: 9.488 MB / 346.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001467/0.1345, allocations: 0.9032 MB / 0.4921 GB, free: 8.551 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.1345, allocations: 11.95 kB / 0.4922 GB, free: 8.539 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.1346, allocations: 4 kB / 0.4922 GB, free: 8.535 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002428/0.1348, allocations: 73.66 kB / 0.4922 GB, free: 8.457 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/0.1363, allocations: 399.7 kB / 0.4926 GB, free: 8.066 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005508/0.1418, allocations: 6.159 MB / 0.4986 GB, free: 1.371 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004111/0.1423, allocations: 56.14 kB / 0.4987 GB, free: 1.316 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.063e-05/0.1423, allocations: 27.89 kB / 0.4987 GB, free: 1.289 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003292/0.1427, allocations: 237.6 kB / 0.4989 GB, free: 1.047 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.79e-05/0.1427, allocations: 47.44 kB / 0.499 GB, free: 1 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/0.1442, allocations: 0.8555 MB / 0.4998 GB, free: 116 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.1442, allocations: 7.953 kB / 0.4998 GB, free: 108 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1442, allocations: 4 kB / 0.4998 GB, free: 104 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.1442, allocations: 7.984 kB / 0.4998 GB, free: 96 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002647/0.1469, allocations: 1.723 MB / 0.5015 GB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.1469, allocations: 4 kB / 0.5015 GB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00175/0.1487, allocations: 419.8 kB / 0.5019 GB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002722/0.1489, allocations: 85.62 kB / 0.502 GB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.254e-05/0.149, allocations: 19.98 kB / 0.502 GB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002184/0.1512, allocations: 2.895 MB / 0.5048 GB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1512, allocations: 0 / 0.5048 GB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002129/0.1534, allocations: 1.359 MB / 0.5062 GB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.1535, allocations: 120.6 kB / 0.5063 GB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.077e-05/0.1536, allocations: 15.94 kB / 0.5063 GB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003657/0.1539, allocations: 47.95 kB / 0.5064 GB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.1541, allocations: 51.88 kB / 0.5064 GB, free: 8.914 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.579e-05/0.1541, allocations: 16 kB / 0.5064 GB, free: 8.898 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002848/0.1544, allocations: 271.1 kB / 0.5067 GB, free: 8.637 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1544, allocations: 0 / 0.5067 GB, free: 8.637 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006344/0.1551, allocations: 148 kB / 0.5068 GB, free: 8.492 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * 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 (51): * Single equations (assignments): 48 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001512/0.1552, allocations: 119.1 kB / 0.5069 GB, free: 8.363 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002821/0.158, allocations: 1.198 MB / 0.5081 GB, free: 7.141 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1581, allocations: 0 / 0.5081 GB, free: 7.141 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002053/0.1601, allocations: 0.8923 MB / 0.509 GB, free: 6.223 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007554/0.1609, allocations: 125.4 kB / 0.5091 GB, free: 6.102 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003352/0.1643, allocations: 1.936 MB / 0.511 GB, free: 4.117 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005656/0.1648, allocations: 0.9408 MB / 0.5119 GB, free: 3.148 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.165, allocations: 43.42 kB / 0.5119 GB, free: 3.105 MB / 362.7 MB Notification: Performance of SimCode: time 6.42e-07/0.165, allocations: 0 / 0.5119 GB, free: 3.105 MB / 362.7 MB Notification: Performance of Templates: time 0.2075/0.3725, allocations: 16.65 MB / 0.5282 GB, free: 47.2 MB / 362.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1)